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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

399 views 2 4
Read article

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