Hi,
I have project A. It has 2 issue types Story and Bug. Issue type Story creation is restricted to role PO with workflow validation. User with role Developer has created Bug. Now he moved the issue form type Bug to Story. This move operations works. So here user with role Developer has created a Story whose creation is restricted to role PO. So JIRA is not checking the validation here.
Is it a bug or expected behavior? How can this be restricted without restricting the move permission.
Kind Regards,
Mayuresh
Hi @Mayuresh Sakharape , I hope you doing fine
This behaviour is expected in Jira because the move operation doesn't strictly follow the same validation rules as creating a new issue. When moving an issue, Jira checks the Move Issue permission rather than Create Issue permission.
To restrict the move operation based on user roles, you can use a workflow condition instead of validation. Here's how you can add a condition to the workflow transition for the move operation:
Now, only users with the "PO" role will be able to move issues between the Bug and Story issue types. This way, you can ensure that only users with the appropriate role can change the issue type without restricting the Move Issue permission directly.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.