I succeeded, using the workflow properties, to forbid editing and commenting a closed issue. I added to the close status the following properties:
Jira.permission.comment = denied
Jira.permission.edit = denied
Jira.issue.editable = false
The only way to get back these permissions is to play a transition called “reopen”.
However, the reopen transition has a comment field which is a mandatory field to save a reason. But with the previous properties, this field is hidden and the mandatory condition ,of course, is always blocking the transaction.
I tried to set some workflow properties on the reopen transition, but without success:
Jira.permission.comment.group = jira-users
How can I get this to work?
Thank you for help.
The previous scenario is not possible, there is no way to control jira-permession-properties via transitions. (it is only possible on jira status or step, wich doesn't solve my problem) (this issue was also viewed with the jira support, and i didn't receive any complete working solution to my case).
(the Jira versions i used while studying this issue: 5.2.11 and 6.2.x)
You can try using below properties
check the following documents
Thank you Patina for your response,
but either iam understanding somethig wrong, or doing something the bad way... but there are two places where we can add properties on a workflow:
1- WF transition
2- WF status
when i add jira.permission.comment=denied to the CLOSED status, no comments could be donne on the issue.
but when i add the same jira.permission.comment=denied on the CLOSE transition instead of the previous, nothing happens!!
if i keep the property on the CLOSED status, and i add jira.permission.comment=granted to the REOPEN transition, the workflow will not consider the transition property, and will prevent the user from seeing/modifying the comment field on the REOPEN transtion screen.
What is the difference between the two ways? When the transition properties are concidered? I am a bit stuck here :(
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot