You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have requirement to create automation rule which will be working like closing the deliverable when all EPICs under that deliverable are closed.
I am not able to fetch the epics under deliverable in automation rule. is this possible with any functions like ChildissuesOf or parentissues ?
Can i get help on how to create this Rule?
Yes, It can be possible. I am sharing the rule which I triggered on a Schedule basis and you can trigger it on a transition basis.
First we have to verify the issue type is epic
Then check whether its parent exists
Then Go in to the Parent Via Branch
then find all the epics under the parent via JQL, in this jql I am finding those epics who are not yet closed and if any of that found the rule will run, but in your case the size must be 0 means the all epics are closed.
Then transition the PArent to Closed.
Thanks @Muhammad Moazzam Hassan ,
I tried to implement this rule. But while adding jql condition for closed epicssize 0, my jira server doesn't show JQL issues greater than condition.. JQL condition drop-down is having only
_ Are not present
_all match specified JQL
_None match specified JQL
_some match specified JQL
JQL condition with JqL return issues count matching is not supported.. is there any way I can modify at JQL area to complete this request
Hi @Kishore D
What is the issue type of your child issues of the Epic?
As written, your lookup issues action is using JQL to find any Epics which are children of the Epic. Instead I believe you want your JQL to use:
issueType != Epic
Hi @Bill Sheboy ,
My project is having deliverables as parent link and under deliverables, epics are there.
Example: Deliverable1 is parent link, epic1,epic2,epic3,epic4 are child issues which are created with parent link as Deliverable1.
Now my automation rule has run and close Deliverable1, whenever epic1, epic2 epic3 epic4 are closed.
Above rule mentioned in screenshot is executed but Deliverable1 is not closing.
Please post an image of the audit log details (Show More) for when the rule runs. That may indicate what is happening.
I recommend using a screen print, browser addon, or screen capture tool rather than taking a photo of the screen. That will make reviewing the image easier. Thanks!
Hi @Bill Sheboy @Muhammad Moazzam Hassan ,
Due to some limitations, i can upload photo only. I am attaching the Audit log of rule when i close the epic.
In screenshot, XYZNG-52 is epic. when i close the epic audit log message is as in screenshot. But there is no message for XYZNG-50 (Deliverable).
So my requirement is not fulfilled. I can see epic (XYZNG-52) closing message. But not parent (XYZNG-50 -Deliverable) close.
XYZNG-50 , Deliverable is parent and XYZNG-52 is child (epic)
Then seems like there is a difference in automation of jira server and cloud
I think this is a bug, you can contact Atlassian Support for that.