Functionality around Global permission to Assign users changes between Jira 4 to Jira 5. Why?

In Jira4, I only allowed certain users in groups (i.e. managers) to assign issues to users. From the main top level" page while browsing issues the "Assign" and "Assign to Me" buttons were not visible. I then customized the workflow to display the Assign user pulldown menu along with other fields. ScriptRunner was then used to validate the assigned user with the following rules:

1/ If Manager then allow assigning to any user
2/ Elseif unassigned then OK
3/ Elseif issue assigned to self (i.e. currentUser) then OK
4/ Else display error below Assign User Field stating: ERROR: You can only assign this issue to yourself else your Manager will assign it."

In Jira 5, if I don't have the Assign User global permission set to allow a Reporter to set the assign user then then Assign User menu is not longer displayed on any of the workflow transition screens.

I understand the need to fix the "logic" around assigning users but this really puts a hole in my workflow process. i.e. nonManagers can assign issues to anyone. That is not acceptable.

Can I move the validation directly to the field value itself, no matter where it is set?

3 answers

1 accepted

Here's Andre's text that did the trick for me:

Thanks for the clarification. I was checking here but there is no way to achieve this in JIRA, but maybe the following KB can be helpful for this case:

Hope this helps. Please be aware that customisations are out of scope of this support channel, so we can't guarantee we will be able to resolve this by using this channel.

Thanks for your understand. Let me know if the KB helped for this case.

Regards,
Andre

I'm trying the "Behaviours" plugin. Successfully installed it with UPM, I even restarted Jira.

I setup a simple behaviour on the Assignee field to make it optionally readonly, with no serverside script defined and no When condition. Only an Except condition when the user is part of a specific Jira group. The global permission has the Reporter (i.e. me the user) having permissions to assign users. When I browse an issue I created, I'm still able to see the "Assign" and "Assign to Me" buttons. I'm able to assign another user with no errors or restrictions.

What am I missing or misunderstanding about this plugin.

Are there only solutions?

We can't see your support requests. They're limited to you and Atlassian (Oh, and Behaviours is not a standard Atlassian plugin, so they probably won't be of much help)

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 ...

3,305 views 14 20
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