How can I prevent a customer from commenting a closed issue, but allow an agent to add an internal comment?

I would like to inhibit a JIRA Service Desk Customer from commenting a closed issue, but at the same time I would like that agents and collaborators are able to add internal comments on the closed issue.

I know that there is a step property in JIRA workflows called "jira.permission.comment.user" that can inhibit comments on that step. Unfortunally this would prevent from commenting not only the customers, but also agents and collaborators.

How can I get this?

 

Thanks, regards

 

3 answers

1 accepted

1 vote
Accepted answer

Maybe you can try:

jira.permission.comment.projectrole.1=xxxxx

jira.permission.comment.projectrole.2=yyyyy

where xxxxx is the project role id of agents and yyyyy is the project role id of collaborators

 

see: http://www.j-tricks.com/tutorials/permissions-based-on-workflow-status

Yes, this is the solution. Thanks, very much

thank you for sharing! this worked :) I do not know if anyone can share any input on how to prevent a symptom of this change.

We have email requests enabled for our service desk - so now that we restricted commenting on closed tickets the system is creating a new ticket with the same informaiton. 

Any idea on how to prevent that? Specifially if customers reply thanks we do not want to have duplicates that contain thank you in the description. 

 

Hi Rose,

A possible solution might be having another status "Fully Closed" which restrict commenting.

Then add an automation rule to transit the "Closed" issues for more than 7 days into "Fully Closed".

HI, I tried to add the change to a particular role, but it removed comment from all users

Customer Tester.PNG

@Tim Hotham In your screen I can see that you are using Role Name instead of Role ID.

Like 1 person likes this

Hi David,

You could try to add an extra transition called 'Comment' on the workflow that goes from the Closed status back to the Closed status but that's only availble for your internal users (you can do this using the conditions on the transition).

You now just need to add a screen with only a comment field on to the transition and you're done.

Best regards,

Peter

That will definitely work!

No, I tried, but unfortunally if you set the jira.permission.comment.user to false for the closed step, then the comment is also inbhibited on the transitions starting from that step

I had once a similar scenario with editing. So on the step had jira.issue.editable = false but could edit during a circular transition. You are sure you dont have that property in the transition as well?

Does one stop comments being logged via email on issues with 'Resolved' status though?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

242 views 0 6
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