I need to create multiple issues and link with the current task on a workflow transition

Sateesh Chandra October 30, 2020

I need to create multiple issues and link with the current task on a workflow transition.

We have a field "Applications" of type checkboxes. For each checkbox  checked, we want a new issue be created and linked to the current issue.

I configured it using automation, but only the first condition is getting checked , and not going to the next condition.

When issue transtioned

If list of applications contains any of <app_name>

Create issue in project and issuetype

Link issue to Trigger issue and link type.

 

The above 4 steps I repeated.

 

Regards,

Sateesh

 

 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2020

Hi @Sateesh Chandra 

Would you please post an image of your rule?  That will help the community provide input.  Thanks!

Given you are creating multiple issues, I expect what you are seeing is that when the first condition is met, the rule does the "yes" condition and continues, otherwise it exits.

What you may want instead is to use branches to handle this, such as with:

  • Trigger: status transition
  • Branch: for current issue
    • Condition: if Applications contains your first task type (app 1)
      • Action: create the first task type
  • Branch: for current issue
    • Condition: if Applications contains your second task type (app 2)
      • Action: create the second task type
  • and so on...

The branching on the current issue will contain the test, and allow processing to continue.  Please note that these branches' processing occur asynchronously and so there is no guaranteed order in which the tasks will be created.

Best regards,

Bill

Suggest an answer

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

Atlassian Community Events