Issue state depending user

Hello!

Is there any way to limit issue state list depending user?
For example, "User 1" can assign only states "Open, In Progress, Resolved" of State field. And "User 2" can assign additionally "Closed" state of the same field (i.e. "Open, In Progress, Resolved, Closed").
As I see it's not the case for public and private fields?
With help of workflow is it can be done?
2 comments
Comment actions Permalink
Unfortunately you cannot limit states list by user, please follow JT-8639 and related issues.

But you can restrict some users to choose some states by the workflow:
rule User can change only some states 
 
when State.becomes({Open}) { 
  assert loggedInUser.login.eq("User1", opts): "Only User1 can change state to Open"; 
}
prettyPrint();
0

Please sign in to leave a comment.