We would like for only admins to be able to reopen a closed issue. The permissions for Reopen are for both Resolved and Closed. Is there a way to have different permissions for these?
Edit the workflow, making sure you have separate "reopen" transitions, one from Closed and one from Resolved. Protect the one from closed with an extra condition (something like "user is in role project admin")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- but what if we have one transition for both states. Like I would like to just have admins to reopen from canceled state and PM and Admin should be able to reopen from HOLD state. I needs to write some script to find previous state and then check user in PM or admin then allow. Do we have any example code to achieve ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to split it into two transitions, or write some quite complex code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough Thank you so much for the insight. This is exactly what I needed. Needed to restrict Reopen transition from Done and Cancelled to just project lead & admin. This worked out perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.