I want to make unable to change the parent issue satus before the child issue is completed

최보훈_품질경영실_KBN October 16, 2024

is there any way to do that? 

 

thanks for reading. 

4 answers

2 votes
Ling Ng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2024

Welcome to the community!

If you have the ScriptRunner plugin, this can be achieved using a Workflow validator:

issue.subtasks.every(subtask => subtask.status.name == 'Done')

This ensures that all subtasks have the Done resolution before the parent issue can be transitioned to the next status. 

You can read more about the ScriptRunner validator and its examples in the documentation here

I hope this helps! 

0 votes
Vicente Domínguez _Decadis AG_
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.
October 17, 2024

Hello @최보훈_품질경영실_KBN,

I am part of the support team of Decadis and I would like to suggest our app JWT Cloud for this purpose.

Our Jira expression validator could check if there is any unresolved sub-task before transitioning to the next status as explained in the use case Check for unresolved sub-tasks.

Please, let us know if you need more information here or via our support portal if you are interested in this approach.

Best regards,

Vicente

 

0 votes
Maciej Dudziak _Forgappify_
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.
October 17, 2024

Hi @최보훈_품질경영실_KBN

It depends on your use case. If you are using a Parent <-> Sub-tasks relationship, there is a built-in Sub-Task Blocking Condition in company-managed projects.

However, if you're working with higher levels in the issue hierarchy, such as Epic <-> Story, there is no out-of-the-box solution for this in Jira.

Therefore, we have created the Linked Issues Validator as part of the Workflow Building Blocks for Jira app. With a wizard-like UI, you can select options that represent your case. You can choose relations from: sub-tasks, parent issues, stories, all children, and linked issues. Additionally, you can filter relations by issue types and select criteria based on status category and status.

I hope it would help.

Cheers

0 votes
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Hi @최보훈_품질경영실_KBN Welcome to the community! 

You can use this using the JMWE plugin or scriptrunner plugin validator in the workflow. 

Suggest an answer

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

Atlassian Community Events