Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to create an issue in another project different projects using the Create On Transition for Jira app. This article presents creating an issue in another project based on the component selection.

Instructions

...

Consider a Component with values as component1 and Component2 in the respective project.

  1. Add a post-function 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.
  2. Select Create Issue post function as shown below:
    Image Added
  3. Select the Detailed Fields tab and select your respective project under which you wish to create the new issue. Also select the other fields as required.
    Image Added
  4. Select the Conditions & Configuration tab and add %parent_components% and to Condition 1 and component1 to the respective Regular expression pattern.
    Image Added
  5. Click Update to save the settings. Verify the condition:
    Image Added
  6. Use step# 2 through step# 5 to create an issue in a different project when component2 is selected. It looks similar to:
    Image Added

  7. Publish the workflow draft.
  8. Perform the transition Awaiting CAB Approval as shown and issues are created based on the condition.
    Image Added

Note

It is recommended to try the solution provided in a non-production environment and ensure everything is working as expected, before trying in a production environment.