Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Start transition conditioned by another issues status

Deleted user September 23, 2020

Hi,

we have linked issues: issue 1 (level 1) relates to issue 2 (level 2). It's a one-way-direction.

Our aim is to implement a workflow that is based on the status of the issues. E.g. the transition of issue 1 could only be started, if issue 2 has a specific status. So the condition to execute the transition of issue 1 is the specific status of issue 2.

Do you have any experiences, if this is possible to implement? If yes, could you describe the solution?

Thank you! Best regards,

MK_27

2 answers

1 accepted

1 vote
Answer accepted
Ravi Sagar _Sparxsys_
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.
September 23, 2020

Hi @[deleted] 

Do you have ScriptRunner for Jira? You can easily do that with the help of a custom scripted condition. This link has an example as well. Do take a look.

I hope it helps.

Ravi

0 votes
Flavien Gache
Community Champion
September 23, 2020

Hello MK_27.

The feature "link" is only informative in Jira. It means you cannot use it to pass a transition, it only allows your developers to understand links between various tasks, for example.

However, there might be a simple solution to your problem.

You can use tasks and subtasks.

Let's say that issue 1 is a SubTask of issue 2 (which would be a Task). In that case, you only need to add a validator to the transition of issue 1 to check if issue 2 is in a particular status (see the screenshot here) to solve your problem. 

Screenshot 2020-09-23 at 17.16.36.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events