This article explains how to create an issue in different projects using the Create On Transition for Jira app. In this article, we considered This article presents creating an issue in another project based on the component selection.
Instructions
Consider a Component Component with values as component1 and Component2 in the respective project.
- A Add a post-function needs to be added to the intended transition to create a sub-task.
To add post-function, navigate to Cogwheel > Issues > Workflows > select the workflow of the project and edit. - Select Create Issue post function as shown below:
- Select the Detailed Fields tab and select your respective project under which you wish to create the new issue and also . Also select the other fields as per the requirementrequired.
- Select the Conditions & Configuration section and tab and add %parent_components% and to Condition 1 and component1 to a the respective Regular expression pattern.
- Click Update to save the settings. Verify the condition:
- In the same way as Use step# 2 , step# 3, step# 4 and through step# 5 , for creating to create an issue in a different project when component2 is selected. So that it It looks similar to the below screenshot:
- Publish the workflow draft.
- Perform the transition Awaiting CAB Approval as shown and issues will be are created based on the condition.
Note |
---|
We request you It is recommended to try it the solution provided in a non-production environment and make sure ensure everything is working as expected, before trying in a production environment. |
...