Transition condition on specific user

Hi guys,

I was wondering whether it's possible to setup JIRA workflow in such way, that only specific user can change status of an issue. Basically, I would like to create transition condition like current_user == 'jira_robot'. I seem to be unable to get current user using custom condition script. 




1 answer

1 accepted

1 votes
Thomas Schlegel Community Champion Apr 26, 2017

Hi Martin,

you are right, there is no "user = abc" condition. But there is a condition "User is in Group", so an easy way is to create a group and add the user to this group and add the "User is in Group"-condition to the transition.

Yep, I know about this. But it's sort of a workaround. I was hoping there's a 'clean' way how to do this. But thank you for suggestion, I'll probably go with this solution.


Btw, Isn't there a way how to bypass this using ScriptRunner plugin which we are actually using?

Thomas Schlegel Community Champion Apr 26, 2017

Yes, this should be possible. There is an example here:

You get the currentUser as described in the example and compare that value not to "" as stated in the example but with your own string.


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot