Hi,
I would like to understand if it is possible to have two different conditions to access a state from two different states.
Below is the image of my workflow. As you can see, from the state "IN PROGRESS" I can switch to "IN REVIEW" or "CLOSED", while from the state "IN REVIEW" I can switch to "CLOSED" (or "IN PROGRESS).
I also have a custom field called "Reviewer".
I would like to set a condition whereby:
If I am in the "IN PROGRESS" state, only the "Assignee" can move the issue to the "IN REVIEW" or "CLOSED" state.
If I am in the "IN REVIEW" state, only the "Reviewer" can move the issue to the "CLOSED" or "IN PROGRESS" state.
Unfortunately, using for example the condition "User Is In Custom Field" or the condition "Only Assignee Condition" I do not get what I want... Actually the pattern is clear, from either state (IN PROGRESS and IN REVIEW) I can get to the "CLOSED" state... :(
Is it possible to achieve something like the second picture?
Thank you!
Best regards,
Matteo
From your diagram, it looks like you are re-using your close transition for both In Review and In Progress statuses. This means that the same condition will be applied.
If you want to apply different logic - custom field reviewer (when moving from In Review) and assignee (when moving from In Progress) - you need to use two different transitions rather than re-use a single transition. You will need to give the transitions different names.
yessss thank you, it works! I imagined something to do with this! So the names of the transitions are more important than I thought! Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The conditions you mention should be doing what you expect (assuming the custom field is a user-picker)
Can you tell us what options the assignee, reviewer, and someone who is neither see when the issue is in the "in progress" status? What workflow options do they get offered when viewing the issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assignee: JIRA Adm
Reviewer: None
Starting state "IN PROGRESS"
The options I see as JIRA Adm are only: "To Do" and "IN REVIEW"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assignee: JIRA Adm
Reviewer: JIRA Adm
Starting state "IN PROGRESS"
The options I see as JIRA Adm are: "To Do", "IN REVIEW" and "CLOSED"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assignee: JIRA Adm
Reviewer: User_x
Initial state "IN PROGRESS"
The options I see as JIRA Adm are: "To Do" and "IN REVIEW"
The options I see as User_x are: "To Do"
To be more precise, I only have the problem in the transition to the CLOSED state, as you can see from the picture when I click on one of the two branches it highlights them both.
These are the rules I set for the close transition
Unfortunately, I can't figure out how to add two different rules that are not mutually exclusive but allow me to get what I want
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, you can't if you're using the same transition. @Paul O has spotted that problem!
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.