Hello All,
My EPICS contain 1 or more Issues (Stories, Tech Stories, Spikes, bugs,....). I want to create an automation rule as follows:
My main problem is #3 above so would you please help me to achieve this?
I really appreciate any help you can provide.
Hi @Heba Hasan
The automation below should do what you want, with the exception that I don't have Technical Story set up as an issue type so you'll need to update the JQL in steps 4 and 5, and you could remove the check for epic status in step 4 (in fact if you're hierarchy is set up so that stories and tech stories are always under an epic you don't need step 4 at all):
I think below approach will address your use case
Trigger
When Issue Transition
Component (if)
Check if the transitioned issue is a standard Issuetype
issuetype in standardIssueTypes()
Note: You can filter based on specific issue types
Component (lookup issues)
Use below JQL
parent = {{issue.parent.key}} and issuetype in (Story, Tech Story) and status != Done
Create Variable
variable name: varIssueCount
Smart Value: {{lookupIssues.size|0}}
Component (if compare two values)
Check if varIssueCount = 0
if Yes, this means all Story and Tech Story are in Done status
Branch (For Parent)
Then: Transition Issue to Done.
See if this logic works for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Heba Hasan
Welcome to the community, i have attached the Automation rule as similar which you are looking
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.
Hi @Pasam Venkateshwarrao
This automation would work for setting child stories, etc. in an epic to Done when the epic was set to Done instead of setting the epic to Done when all of the stories or tech stories are set to Done, but you would have to be sure that your workflow allows issues to transition to Done from all statuses for it to work as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.