I would like to create an validator or condition to force all the child issues (in this case Task) associated w/ the Epic parent ticket, before closing this one, is this possible?
I am able to use the rule of linked issues condition for subtasks but not child issue.
Note is for Jira-Cloud
You can use the Linked Issues Status Condition for that, have you tried?
Hello @David Fischer indeed the Linked issue status condition works for the Epic subtasks, but the the rule doesn't seem to apply to the child issues, in this case Task.
Please check the photos for better understanding
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Under Issue Link Type, you need to pick "is Epic of".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @David Fischer it works, but I have to 2 different conditions to cover both subtasks & child issues:
- Child issues use Epic of
- Subtasks issues use is parent of
I guess because both have different relationships right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct. Unfortunately, Jira Expressions, which is the underlying technology that is used to build custom Conditions in third-party apps such as JMWE, doesn't currently support Jira Cloud's new unified issue hierarchy. It still separates the parent/subtasks relationship from the Epic/Story relationship.
For your use case, you'll need to use two conditions, one for each link type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tiago,
You will need an add-on such as JMWE or ScriptRunner to be able to do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which on are you using? I have limited experience with code like that for JWME, and none with ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is now possible to test against all direct children of the issue - regular & subtasks in one condition/validator. For this particular case we developed Linked Issues Validator, which is part of the Workflow Building Blocks for Jira free app.
Here’s an example of how it looks:
I hope it will help.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.