I want to allow a specific person only to perform certain workflow transition. How can I perform this?
Is there any way to perform this? e.g. by Script Runner or other?
A script could do it, but it might be possible with basic conditions or add-ons that provide condtions too.
The main question is "who?". How are you identifying the person who is allowed to do the transition?
Worst case, it's just "this person", but I'd lean towards "person in role", so it's flexible (and off-the-shelf), or maybe "people in group".
I strongly suggest you use a group or role and only put that one person in it. When or if they leave or on vacation you can easily put someone else in their place. It is the same guideline as security, never give access to people. Give it to groups/roles and move people in and out of the groups/roles.
Have you looked at the "add condition" function in the workflow editor? Where there is a list of conditions you can add, including "only user in role", "only user in group" and "only user".
I'm not sure why you're asking about scripting when there's all those options built-in.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs