Tabnine Logo
IssueInputParameters.getIssueTypeId
Code IndexAdd Tabnine 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)

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

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top Sublime Text 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