JIRA WORKFLOW Multi-validation

Antoine
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.
August 4, 2016

Hi all,

I would like to make a workflow with a specific attribute. It should be able to pass to the next status only if two statuses are validated.

If it's not really clear, it will certainly be clearer with a schema :

 

It will must wait the first validation and the second validation to pass to "Analysed" status.

Workflow - JIRA.PNG

4 answers

1 accepted

1 vote
Answer accepted
Antoine
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.
August 22, 2016

Done

1 vote
Fidel Castro
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.
August 4, 2016

You can do it like this:

1) Replace the names of the status with "VALIDATED BY 1" and "VALIDATED BY 2". This is only to make clear that each status means that the issue has been validated by one of the 2 possible validators.

2) Transition from "SUBMITTED" to "VALIDATED BY 1" should have a condition that ensures that it can only be seen (thus executed) by validator 1, and transition from "SUBMITTED" to "VALIDATED BY 2" should have another condition to ensure that it can only be seen by validator 2. I recommend you to use two different project roles for implementing the conditions.

3) Transition from "VALIDATED BY 1" to "ANALYSED" should have a condition that ensures that it can only be seen (thus executed) by validator 2, and transition from "VALIDATED BY 2" to "ANALYSED" should have another condition to ensure that it can only be seen by validator 1. Note that here the conditions are twisted in respect to previous transition.

This way you will ensure that both validations have been carried out before reaches ANALYSED status, but you allow to do them in any order.

More complex scenarios are also possible, like this multi-approval solution implemented using JIRA Workflow Toolbox plugin.

Antoine
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.
August 4, 2016

Thank you for your answer. I'll try this tomorrow !

1 vote
Bart Meerveld
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.
August 4, 2016

Why not have your flow go Submitted - Validator 1 -(transition with validation) - Validator 2 -(transition with validation) - Analyzed?

It can only be in one status at the time anyway?

Antoine
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.
August 4, 2016

It's better (for validators) if it's two different transitions from the same status..

0 votes

What is different for each status? A different screen - custom fields to complete?

Antoine
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.
August 4, 2016

No, the permissions are differents

Suggest an answer

Log in or Sign up to answer