Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This is the documentation of JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see our JSU Cloud documentation. |
...
- Copy a field value from the origin issue to a new linked issue
- Copy the value from one field to another field within the origin issue, and
- Set the value of a field in a new linked issue
Below we illustrate how you can use JSU's Create a Linked Issue post function to automate the creation of the above- linked tasks and associated issue fields when an origin Jira issue called Hiring a Marketing Assistant moves into In Progress status.
How to configure this workflow
- Go to your project settings and choose the Workflows option from the left sidebar.
- Click Edit for the required workflow to open create a draft workflowversion.
- Select the In Progress transition. We will perform our automation on the In Progress transition, so that when the task moves to In Progress, two sub-tasks will automatically be created.
- Select the Post Functions tab then click Add post function.
- Select the Create Linked Issue(JSU) post function then click Add.
- Select Inside Same Project for the target project. We want to perform the automation within the same project.
- Select Sub-task for the New Issue will be related via option. You can then select any issue type for this option but in this example we choose Sub-task.
- Now it's time for a little magic. Click Add configuration. You can copy a field value from the origin issue to the new issue or within the origin issue. You can also set a field value to a field in the new issue. In this case, we want to copy a field value from the original issue (our task) to the new issue (a new sub-task).
- Click Add for the Copy to New operation.
- Let's copy the assignee of the task to the assignee of the sub-task. Then, you can copy a value from a field of the origin issue to another field of the origin issue. We'll try it by copying the summary to the description and prepending it with a dash.
- Configure the last operation by setting a value for the summary of the new issue. We'll set it to Create contract.
- Click Add to save your configuration.
- Repeat the process to add one more sub-task for ordering a PC. Add the create linked issue post function and configure the value of the fields you prefer. Set the summary of your new issue to "Order PC".
- Publish your workflow.
...