Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Need to move the parent issue based on subtasks status.

Hi Team,

 

We have certain set of subtasks issue types like sub-story, sub-bug, pre-bug, post-bug, pre-change etc and all the subtasks uses the similar statuses with different workflows now our requirement is when the parent issue is in in progress and when the other subtasks got completed  excluding pre-bug and pre-change (This pre-bug and pre-changesubtsaks can be in any status)subtasks the parent should automatically move forward to In review.

We are using JMWE addon and hosted in Jira cloud.

Thanks in advance!!

2 answers

0 votes
David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 16, 2022

Hi @Janaki.R ,

you can use a Transition Issue(s) post-function on the sub-task transition(s) to "Done", configuring it like this:

- Target Issue(s): Parent of the current sub-task

- Transition(s): add the transition that takes the parent issue from In Progress to In Review

- Transition screen: add any field that should be set on the parent issue - this is required if the transition to In Review requires certain fields

- Conditional execution: check the checkbox and use this script (which you'll need to adjust to your sub-task issue type names and done status name - everything is case-sensitive):

{{ targetIssue.fields.subtasks 
| filter(["fields.issuetype.name","Pre-bug"], true)
| filter(["fields.issuetype.name","Pre-change"], true)
| filter(["fields.status.name","Done"], true)
| length == 0 }}

screencapture-jmwe-dev-local-atlassian-net-secure-admin-workflows-AddWorkflowTransitionFunctionParams-default-jspa-2022-02-16-14_02_34.png 

0 votes
Dave Bosman _Realdolmen_
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.
Feb 16, 2022

Hi @Janaki.R 

You can do this with these instructions

Keep in mind that you will need to create a small script to do the conditional check.

Another solution could be with automation for Jira. A simplified example of what you would need is the following. 

2022-02-16 13_09_24-Project automation - Jira.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events