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 !
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?
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.