congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IssueInputParameters.setFixVersionIds
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.atlassian.jira/jira-core

@Override
protected void finaliseOperation(Collection<String> finalValue, IssueInputParameters parameters, ErrorCollection errors)
{
  Long[] ids = toVersionIds(finalValue, errors);
  if (ids != null)
  {
    parameters.setFixVersionIds(ids);
  }
}
origin: com.atlassian.cpji/cpji-jira-plugin

public void populateCurrentValue(final IssueInputParameters inputParameters, final CopyIssueBean bean, final FieldLayoutItem fieldLayoutItem, final Project project)
{
  final List<VersionBean> fixVersions = makeSureNotNull(bean.getFixedForVersions());
  final List<Long> fixVersionIds = new ArrayList<Long>();
  for (VersionBean fixVersion : fixVersions)
  {
    Long fixVersionId = findVersion(fixVersion.getName(), project.getId());
    if (fixVersionId != null)
    {
      fixVersionIds.add(fixVersionId);
    }
  }
  if (fixVersionIds.size() > 0) {
    Long[] ids = new Long[fixVersionIds.size()];
    fixVersionIds.toArray(ids);
    inputParameters.setFixVersionIds(ids);
  }
}
origin: com.atlassian.jira.plugins/atlassian-jira-rpc-plugin

issueInputParameters.setResolutionId(rIssue.getResolution());
issueInputParameters.setSecurityLevelId(securityLevelId);
issueInputParameters.setFixVersionIds(SoapUtils.getRemoteEntityIdsAsLong(rIssue.getFixVersions()));
issueInputParameters.setAffectedVersionIds(SoapUtils.getRemoteEntityIdsAsLong(rIssue.getAffectsVersions()));
issueInputParameters.setComponentIds(SoapUtils.getRemoteEntityIdsAsLong(rIssue.getComponents()));
com.atlassian.jira.issueIssueInputParameterssetFixVersionIds

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
  • setPriorityId
  • setProjectId
  • setReporterId
  • setSummary
  • getActionParameters
    This provides the "web-style" parameters that JIRA fields expect to perform their functions.
  • getIssueTypeId
  • setAffectedVersionIds
  • setComponentIds
  • setDescription
  • setComponentIds,
  • setDescription,
  • setDueDate,
  • setEnvironment,
  • setSecurityLevelId,
  • getProjectId,
  • isFieldPresent,
  • setResolutionId,
  • setRetainExistingValuesWhenParameterNotProvided

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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