How do I disable the comment button per status in Jira?

I have users and developers that add comments while "working issues" and they tend not to use the workflow transition button to reflect the proper status. Is is possible to disable the comment button from the forms until the issue is in a particular status?

Thanks.

7 answers

1 accepted

Hi Bob, You may add the property jira.properties.comment followed by one of these suffix group, user, assignee, reporter, lead, userCF, projectrole... (example : jira.properties.comment.reporter = denied forbid reporter to comment an issue on a specific status). Then, you can give 'denied' or 'granted' value for that for each status. Best regards, Christophe

you can use the workflow properties to restrict, use the following property

jira.permission.comment.group=some-group
jira.permission.comment=denied

check the following documents

http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html

https://confluence.atlassian.com/display/JIRA/How+to+deactivate+comments+for+closed+issues

3 votes

Yes, you can restrict certain permissions based on status. See a write-up about that at http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html

Wow, didn't expect replies this quick. Let me investigate the options provided.

Thanks.

Hi Bob,

Please check the Comment Permission in Permission Scheme associated for the project of an issue.

Regards

Onkar Ahire.

comment permission on permission scheme are project level, it can't use for workflow level

Onkar, that's incorrect - comment permission applies at a project level

Bob needs to disable comments based on the status of an issue, which is covered at https://confluence.atlassian.com/display/JIRA/Workflow+Properties

All answers worked! Christophe's and Ramanam's answers kept me from having to refer to another page.

Thanks!

Hi all,

I'd like to disable comments during the "Waiting For Reporter" state to force users to use the proceeding "Answer" state, instead of just commenting on a ticket and leaving it in the "Waiting For Reporter" state.

I've tried the workflow property as outlined here: https://confluence.atlassian.com/display/JIRA052/How+to+deactivate+comments+for+closed+issues

Our current workflow is:

Open -> Waiting For Reporter (disable comments via workflow property) -> Answer (enable comments via workflow property)

The problem is that the enabling of comments seems to be too late because there's no comment box inside the "Answer" dialog that pops up.

Anyone have any ideas on how this could be done better?

Thanks!

Hi,

Sorry for the late comment, I wondered how you got on with this.

I want to disable the "comment" button but still allow comments during the transition. did you find a way to achieve this?

Thanks!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

110 views 12 3
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