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
Done
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answer. I'll try this tomorrow !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's better (for validators) if it's two different transitions from the same status..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is different for each status? A different screen - custom fields to complete?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, the permissions are differents
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.