It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to configure workflow to allow a specific person only to perform certain workflow transition

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?

 

1 answer

0 votes
nic Community Leader Apr 13, 2016

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 want to allow a specific person only by defineing JIRA user name (e.g. xxxxx.yyyyy) to allow

certain workflow transition. e.g. only case current user is "xxxxx.yyyyy"). How can I perform this by Script Runner or other way?

Joe Pitt Community Leader Apr 14, 2016

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.

nic Community Leader Apr 14, 2016

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.


Thank you for all of your comments. Will use 'only user in project role'. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

875 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you