It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

1 vote
Answer 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

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

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

Thanks!

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

Like Mark de Bont _TMC_ likes this

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

Like Mark de Bont _TMC_ likes this

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!

Like Vladislav likes this

Hi Tamsin,

Please advise were you able to find a solution "to disable the 'comment' button but still allow comments during the transition"?

Thanks in advance!

Vlad

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you