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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

796 views 2 19
Join discussion

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