- This line was added.
- This line was removed.
- Formatting was changed.
This page provides information about the Create and Link Administration screen.
Accessing the Administration Screen
To access the Create and Link Administration screen:
- Go to Administration > Add-ons.
- In the sidebar, under ServiceRocket Plugins, click Create and Link Configuration.
- This page allows you to add, edit or delete Operations.
- You must have at least one Operation to enable Create and Link features within a JIRA issue.
Adding or Editing an Operation
- Operation Text: The text for the operation as it will appear in the Create and Link Screen.
- Target Project: The project for the new issue. It can be inherited from the parent issue or chosen when used.
- Target Issue Type: The issue type for the new issue. It can be inherited from the parent issue or chosen when used.
- Link Type: The type of link and direction between the parent and newly created issue. It can also be chosen when used.
|If you select Choose when used, you will be prompted for the project, issue type or link type before being presented with the issue fields.|
Extra arguments (supported fields) to be passed when creating the linked issue as below. The arguments field here is where you define what is copied from the original issue and what is preset.
- Due date
- Custom fields
- To set the assignee to a user "jsmith", add a line assigneeline: "assignee=jsmith".
- To set the summary to "Your text here", add a line such as summaryas "summary=Your text here".
- To set the components to ComponentA, find the id for ComponentA and add a line such as componentsas "components=10010".
- To set multiple values, add multiple lines with one id value in each line.
- To set a select custom field value use the option name instead of the id. For example, add customfieldadd "customfield_10010=My Second Option"
- To set multiple values for a custom field, add multiple lines with one option value in each line.
- To set values for a cascading select custom field, pass the value for the first field like customfieldlike "customfield_10070=10020 and 10020" and the value of the second field like "customfield_10070:1=10024".
To find Versions or Components:
To find the Custom Field ID:
- To inherit values from the parent issue, use the keyword "inherit". For example, to populate the summary from the parent, add a line summaryline: "summary=inherit"
- To inherit custom field values from the parent issue, use the keyword "inherit" and add a line customfieldline "customfield_10010=inherit". This assumes that the custom field is valid in the target project.
- The inherit keyword also works with multivalue fields such as components, versions and custom multiselect fields. Since components and versions are per-project, they will only be copied if the new issue is in the same project as the parent issue, or if the target project is preconfigured in this operation and has a component or version of the same name.
- For the description, environment and summary fields, the string inherit will be replaced by the parent issues value. For example, summary"summary=[LINKED]" inherit will produce a summary such as [LINKED] ... where "...xxx where "xxx" is the parent issues issue's summary text.
- Supported fields and their keywords are: assignee, components, description, duedate, environment, fixVersions, labels, priority, resolution, security, summary, versions (affected versions) and custom fields.