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?
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.
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?
Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...
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