Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automations for parent issue when part of sub-tasks are in done

Edited

I have issue types:

- Story           ( Level 0 )

- Sub-Task    ( Level -1 )
- Sub-Bug     ( Level -1 )
- Sub-QA      ( Level -1 )

What do I need?

I need automation when all sub-tasks or sub-bugs in the status 'Done' execute auto-comment in the parent Story 'Ready for Deployment'

I did everything and it automation works, but works if:

- All sub-tasks in done ( also sub-qa )
But I need only Sub-Tasks or Sub-Bugs.

- Only one Sub-task or Sub-bug went to the status 'Done'
But I need all child Sub-tasks or Sub-Bugs to be in 'Done'

Here is how that automation looks:
Screenshot 2023-06-14 at 13.44.20.png

 

So, can you help me guys to do auto, when all childs of Story, as Sub-Tasks or Sub-Bugs are in status 'Done' ( including that the story also has another child 'Sub-QA' which is in status 'Pause' ), execute auto comment to a parent issue?

Sorry if it's sound or looks too heavy I tried to explain as easily as I can :)

1 answer

1 accepted

0 votes
Answer accepted
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 14, 2023

Hi @Casper Try to add "Related Issue Condition" after Parent branch and before Action. 

Screenshot 2023-06-14 170627.png

Hi, @Vikrant Yadav I tried but it doesn't work Jira alert "DP-19 doesn't pass the related if block" DP-19 is Story so as I understand my Story has 3 issue types of the sub, and the system find the sub-task in done, but other sub-qa in pause, so that why related if block fail cos there not only sub-tasks.

So the goal now is to somehow filter if ALL sub-tasks are done not only 1 of them. 
But remember that in the story 3 types of sub:

- Sub Task ( I have 2 sub-tasks ) 
- Sub Bug ( 1 sub-bug )
- Sub QA ( 1 sub-qa )

Screenshot 2023-06-14 at 16.49.34.png

 

Thanks!
Casper :)

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 14, 2023

@Casper Here is the complete working rule. Screen Recording Link ;- https://we.tl/t-E4quu4fm6t

Kindly check. Please update subtask name in JQL as per your project.

Like Casper likes this

Uffff Thank you so much, cos I spent 4 hours on that, I will try your solution now.

Like Vikrant Yadav likes this
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 14, 2023

@Casper  Give it a try, it should work. Make changes in rule as per your subtask name.

Like Casper likes this

@Vikrant Yadav It works!
Thanks again, friend

Like Vikrant Yadav likes this
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 14, 2023

@Casper Glad to hear solution works for you 🥳

kindly accept the solution.

Like Casper likes this

Hi there, are you able to reshare the solution, the link has expired :)

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 31, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events