Codota Logo
IssueInputParameters.getIssueTypeId
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain IssueInputParameters
private void myMethod () {
IssueInputParameters i =
  • Codota Iconnew IssueInputParametersImpl()
  • Smart code suggestions by Codota
}
origin: com.atlassian.jira.plugins/atlassian-jira-rpc-plugin

private Collection<String> getProvidedFields(final User user, final Project project, final IssueInputParameters issueInputParameters)
{
  final Collection<String> providedFields = new ArrayList<String>();
  final MutableIssue contextIssue = issueFactory.getIssue();
  // Most calls using the issue object will fail unless the issue object has the project and issue type are set
  contextIssue.setProjectObject(project);
  contextIssue.setIssueTypeId(issueInputParameters.getIssueTypeId());
  FieldScreenRenderer renderer = issueCreationHelperBean.createFieldScreenRenderer(user, contextIssue);
  FieldLayout fieldLayout = renderer.getFieldLayout();
  List visibleLayoutItems = fieldLayout.getVisibleLayoutItems(user, project, EasyList.build(issueInputParameters.getIssueTypeId()));
  for (Iterator iterator = visibleLayoutItems.iterator(); iterator.hasNext();)
  {
    FieldLayoutItem fieldLayoutItem = (FieldLayoutItem) iterator.next();
    OrderableField orderableField = fieldLayoutItem.getOrderableField();
    final String fieldId = orderableField.getId();
    if (issueInputParameters.isFieldSet(fieldId) || fieldLayoutItem.isRequired())
    {
      providedFields.add(fieldId);
    }
  }
  return providedFields;
}
origin: com.atlassian.jira/jira-core

MutableIssue validateAndSetIssueType(MutableIssue issue, IssueInputParameters issueInputParameters, Map<String, Object> fieldValuesHolder, ErrorCollection errorCollection, I18nHelper i18n)
{
  issueCreationHelperBean.validateIssueType(issue, new OperationContextImpl(IssueOperations.CREATE_ISSUE_OPERATION, fieldValuesHolder), issueInputParameters.getActionParameters(), errorCollection, i18n);
  if (!errorCollection.hasAnyErrors())
  {
    issue.setIssueTypeId(issueInputParameters.getIssueTypeId());
  }
  return issue;
}
origin: com.atlassian.jira/jira-rest-plugin

  return;
String issueTypeId = parameters.getIssueTypeId();
if (issueTypeId == null)
com.atlassian.jira.issueIssueInputParametersgetIssueTypeId

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

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • runOnUiThread (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JOptionPane (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now