Tabnine Logo
IssueInputParameters.setProjectId
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.atlassian.jira/jira-rest-plugin

private void initProjectAndIssueType(Map<String, Object> fields)
{
  for (Map.Entry<String, Object> e : fields.entrySet())
  {
    String fieldId = e.getKey();
    Object value = e.getValue();
    JsonData data = new JsonData(value);
    if ("project".equals(fieldId)) {
      parameters.setProjectId(parseProject(fieldId, data, errors));
    }
    if ("issuetype".equals(fieldId)) {
      parameters.setIssueTypeId(parseIssueType(fieldId, data, errors));
    }
  }
}
origin: com.atlassian.jira/jira-rest-plugin

else if ("project".equals(fieldId)) { parameters.setProjectId(parseProject(fieldId, data, errors)); }
else if ("issuetype".equals(fieldId)) { parameters.setIssueTypeId(parseIssueType(fieldId, data, errors)); }
else {
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 {
    inputParameters.setProjectId(project.getId());
  }
}
origin: com.atlassian.jira.plugins/atlassian-jira-rpc-plugin

issueInputParameters.setProjectId(projectId);
issueInputParameters.setIssueTypeId(rIssue.getType());
issueInputParameters.setSummary(rIssue.getSummary());
com.atlassian.jira.issueIssueInputParameterssetProjectId

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
  • 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

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ImageIO (javax.imageio)
  • From CI to AI: The AI layer in your organization
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