congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
IssueInputParameters.setPriorityId
Code IndexAdd Tabnine to your IDE (free)

How to use
setPriorityId
method
in
com.atlassian.jira.issue.IssueInputParameters

Best Java code snippets using com.atlassian.jira.issue.IssueInputParameters.setPriorityId (Showing top 4 results out of 315)

origin: com.atlassian.jira/jira-core

@Override
protected void finaliseOperation(String finalValue, IssueInputParameters parameters, ErrorCollection errors)
{
  parameters.setPriorityId(finalValue);
}
origin: com.atlassian.jira/jira-gadgets-plugin

private IssueInputParameters getIssueInputParameters(String projectId, String issueTypeId, String summary, ApplicationUser reporter)
{
  final IssueInputParameters issueInputParameters = new IssueInputParametersImpl();
  issueInputParameters.setProjectId(new Long(projectId));
  issueInputParameters.setIssueTypeId(issueTypeId);
  issueInputParameters.setSummary(summary);
  issueInputParameters.setReporterId(reporter.getName());
  issueInputParameters.setAssigneeId("-1");
  issueInputParameters.setPriorityId(constantsManager.getDefaultPriorityObject().getId());
  return issueInputParameters;
}
origin: com.atlassian.cpji/cpji-jira-plugin

@Override
public void populateInputParams(CachingUserMapper userMapper, IssueInputParameters inputParameters, CopyIssueBean copyIssueBean,
    FieldLayoutItem fieldLayoutItem, Project project, IssueType issueType) {
  MappingResult mappingResult = getMappingResult(userMapper, copyIssueBean, project);
  if (!mappingResult.hasOneValidValue() && fieldLayoutItem.isRequired()) {
    String[] defaultFieldValue = defaultFieldValuesManager.getDefaultFieldValue(project.getKey(), getFieldId(), issueType.getName());
    if (defaultFieldValue != null) {
      inputParameters.getActionParameters().put(getFieldId(), defaultFieldValue);
    }
  } else {
    Priority priority = findPriority(copyIssueBean.getPriority());
    inputParameters.setPriorityId(priority.getId());
  }
}
origin: com.atlassian.jira.plugins/atlassian-jira-rpc-plugin

issueInputParameters.setEnvironment(rIssue.getEnvironment());
issueInputParameters.setStatusId(rIssue.getStatus());
issueInputParameters.setPriorityId(rIssue.getPriority());
issueInputParameters.setResolutionId(rIssue.getResolution());
issueInputParameters.setSecurityLevelId(securityLevelId);
com.atlassian.jira.issueIssueInputParameterssetPriorityId

Popular methods of IssueInputParameters

  • addCustomFieldValue
    Adds a value for a custom field with the specified full key. This will put a value in the web-style
  • setAssigneeId
  • setIssueTypeId
  • setProjectId
  • setReporterId
  • setSummary
  • getActionParameters
    This provides the "web-style" parameters that JIRA fields expect to perform their functions.
  • getIssueTypeId
  • setAffectedVersionIds
  • setComponentIds
  • setDescription
  • setDueDate
  • setDescription,
  • setDueDate,
  • setEnvironment,
  • setFixVersionIds,
  • setSecurityLevelId,
  • getProjectId,
  • isFieldPresent,
  • setResolutionId,
  • setRetainExistingValuesWhenParameterNotProvided

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • startActivity (Activity)
  • putExtra (Intent)
  • Menu (java.awt)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now