Hi,
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
jira.permission.comment.group=some-group jira.permission.comment=denied (or) granted
check the following documents http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html Thanks, Patina |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 :(
Thanks,
Yousef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me also in WF trasition properties it is not working. In WF ststus we can use properties to restrict user/group to edit/comment the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.