Grant comment while reopening an issue

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.

2 answers

1 accepted

0 votes
Accepted answer

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

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

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,725 views 17 21
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