Issue creation based on status of issues which were created from another rule

Madhur Ramachandruni February 4, 2025

I want 2 Rules

Facing Mind Block for Rule 2

Rule 1 - Creates Issues (already created)

Rule 2 - Create Issue based on status of Issue which were created using Rule 1.


Basically Rule 1 gets triggered manually upon which the rule creates 1 or more than 1 issue.

The expectation of Rule 2 is as follows:

Case 1:

If Rule 1 created only 1 issue (Assume ID = TP1-001)

When Status of TP1-001 becomes DONE then Rule 2 shall create a new issue.

 

Case 2:

If Rule 1 created more than one issue (i.e TP1-001, TP1-002, TP1-003)

When Status of all the issues created becomes DONE then Rule 2 shall create a new issue.

 

Thankyou in advance for helping me out !

2 answers

0 votes
Vishal Biyani
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.
February 5, 2025

@Madhur Ramachandruni 

To trigger rule2 and ensure that it proceeds only if issues created from Rule 1 are in Done status, what is the condition that can be used to safely identify issue is created from Rule 1?

  • Is there a specific issue type that is created by Rule 1?
  • Is there any custom field that can be leveraged to check if issue created from Rule 1?
  • When using manual trigger, check the box "Prompt for input..." The value can be accessed while creating the issue like this {{userInputs.rule1}}
    snip.png

Now in Rule2, you should be able to write JQL to identify issue created by rule1 and if all of them are in Done status.

 

See if this helps you moved forward

0 votes
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 4, 2025

Hi @Madhur Ramachandruni 

 

Did you create any rule for that? IMO you can create 2 rules and set that 2nd rule can be triggered by another rule.

How to set rule triggered by other rule you can find here - https://www.youtube.com/watch?v=5pGNG7AV6tE

 

Regards,

Seba

Madhur Ramachandruni February 5, 2025

Hello @Sebastian Krzewiński 

I think you gave me a starting point.

But i will try to be more clear with my concern.

i will try to walk you through my situation.

Eg:

Case 1:

Rule 1 created a issue (TP1-001) on 05th Feb

The created issue (TP1-001) was moved to status DONE on 10th Feb

On 10th Feb Rule 2 must create a new issue as the issue which was created by Rule 1 is moved to statue DONE.


Case 2

Rule 1 created 3 issues (TP1-001, TP1-002, TP1-003) on 05th Feb

TP1-001 was moved to status DONE on 6th Feb

TP1-002 was moved to status DONE on 8th Feb

TP1-003 was moved to status DONE on 10th Feb

 

On 10th Feb Rule 2 must create a new issue becuase the status of all the issues created by Rule 1 was moved to DONE.

only when all the issues created by Rule 1 has status = DONE that is when Rule 2 must execute and create an issue.

 

So i think what i need is issue transition based trigger for Rule 2 specifically for issues which were created by Rule 1.

Hope this helps

Suggest an answer

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

Atlassian Community Events