I have workflow A and Workflow B in a single project. I want to transition step 2 to step 3 in workflow A only when workflow B is in step 2. Is there a way to achieve this?
I tried to add the condition Update parameters of the Sub-Task Blocking Condition Condition for this transition (Condition to block parent issue transition depending on sub-task status) but workflow A is able to transition to Step 3 even though the workflow is not in step 2.
Note: Workflow A has Epic; Workflow B has task and Sub task defined
Not sure where I am going wrong. Could anyone help me with this one?
Hello @Jet
Welcome to the Atlassian community.
That condition will work only for the issue that is the direct parent of subtasks. It will not work to limit the transition of an Epic based on the child issues of the Epic.
There is not a native workflow condition or validation for what you want. It can be done with certain third party apps.
You could also consider using Automation Rules to track the transitions of the child issues, and update a flag/field in the parent Epic that could be used in the Epic workflow in a condition to block the transitions.
Hi @Jet
If you are looking for an easy way to block the transition of child issues when their parent is in a certain status or status category, please consider Linked Issues Validator, which is a part of 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, epic children, and linked issues.
Btw, I am from Forgappofy, the vendor of the app.
I am leaving a link to the app's documentation if you are interested.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jet
You're going to want to use either the built-in automation within Jira or the likes of scriptrunner (3rd party plugin).
Let's assume workflow A has the following 3 steps:
To do -> In Progress -> Done
And workflow B also has:
To do -> In Progress -> Done
You'll want your automation to trigger on "Issue Transitioned", This will apply to when an issue is transitioned using workflow B.
From there you'll need to specify a condition, we'll use "Related Issues condition" and set it to Epic, followed by an action to transition the issue and specify the status.
I'd recommend starting with this for more guidance: https://support.atlassian.com/cloud-automation/docs/create-and-edit-jira-automation-rules/
KR,
Ash
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.