I'm having an issue with blocking everyone to edit an issue except for the 'Automation for Jira" user.
On a specific status I have the workflow property set to disallow editing of the issue when the user is not the Automation user. (it used to be just deny all but then the Automation user also failed).
According to the documentation this should be possible using a workflow property:
jira.permission.edit.user=<username of the user>
Now this seems to be where it goes wrong. What excactly is the username of the 'Automation for Jira' user?
I've tried with:
None of them seem to work and my automation rule is still blocked. When I remove the property it works fine but then of course everybody can edit.
Any ideas?
edit: seems I was able to allow it by using jira.permission.edit.projectrole=10500 where 10500 is the atlassian-addons-project-access role.
Not the cleanest but seems to work!
If you were using server I would have suggested live fields feature from power scripts to hide the edit button.
I would contact scriptrunner dev's, they may have something similar to this post where the hide web panels and options. Link: https://scriptrunner.adaptavist.com/5.6.8/jira/fragments/HideUIElement.html
If you can hide the button from the ui, you won't need to block the status properties.
Regards
Indeed I wanted to suggest even using roles or groups.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.