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

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

Best Java code snippets using com.atlassian.jira.issue.IssueInputParameters.setComponentIds (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 = toLongIds(finalValue, IssueFieldConstants.COMPONENTS, errors);
    if (ids != null)
    {
      parameters.setComponentIds(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<ComponentBean> components = makeSureNotNull(bean.getComponents());
  final List<Long> componentIds = new ArrayList<Long>();
  for (ComponentBean component : components)
  {
    Long componentId = findProjectComponent(component.getName(), project.getId());
    if (componentId != null)
    {
      componentIds.add(componentId);
    }
  }
  if (componentIds.size() > 0) {
    Long[] ids = new Long[componentIds.size()];
    componentIds.toArray(ids);
    inputParameters.setComponentIds(ids);
  }
}
origin: com.atlassian.jira.plugins/atlassian-jira-rpc-plugin

issueInputParameters.setFixVersionIds(SoapUtils.getRemoteEntityIdsAsLong(rIssue.getFixVersions()));
issueInputParameters.setAffectedVersionIds(SoapUtils.getRemoteEntityIdsAsLong(rIssue.getAffectsVersions()));
issueInputParameters.setComponentIds(SoapUtils.getRemoteEntityIdsAsLong(rIssue.getComponents()));
com.atlassian.jira.issueIssueInputParameterssetComponentIds

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
  • setDescription
  • setDueDate
  • setDescription,
  • setDueDate,
  • setEnvironment,
  • setFixVersionIds,
  • setSecurityLevelId,
  • getProjectId,
  • isFieldPresent,
  • setResolutionId,
  • setRetainExistingValuesWhenParameterNotProvided

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • Menu (java.awt)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 PhpStorm 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