Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically create linked jira into different project based on list of component

Sumit Kamdar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2023

Hi Team,

 

I am beginner on writing automation rule in jira , please find below automation rule use-case that i am trying to achieve using automation gui.

  1. We are using one single prioritization project ("Prioritization A") for review and approval of change across all the applications , list of applications are tracked using jira component field
  2. We have multiple application projects i.e. for each application we have single jira project representation (i.e. Application A = "Application A Project")
  3. We would like to build automation rule on prioritization project jira " Issue transition" event status, which will create linked jira's for each component selected on the triggering issue. 
    for example: if issue transit to "development status" then read each component and create linked jira on application project based on condition.

    Please find below snippet of my rule, issue i am facing is loop is not executed for each component, it only runs ones and exit the loop on checking 1st component and on 1st condition met i.e. in my example i have jira issue with component A and B but when automation rule is triggered it only creates linked is jira for component A in 1st condition but not for component B which is 2nd condition  , not sure what i am doing wrong.  Appreciate your support and guidance.

 

Please find below snippet in sequence of automation rule.

  1. Full Automation Rule.JPG
  2. Step-2 For each component loop.JPGStep-1 withinloop- 1st condition check on each component.JPGStep-2 withinloop - 1st condition pass - create task in a project.JPGStep-3 withinloop - 2st condition check on each component.JPGStep-4 withinloop - 2nd condition pass - create task in a project.JPG

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events