Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,526
Community Members
 
Community Events
168
Community Groups

Disable comment on a closed issue after 5 days

We would like to disable the comment option after 5 days of ticket closure. 

We are able to disable comment option using "jira.permission.comment.user" transition property. But we want to allow users to add comment up to 5 days of closure and then after we would like to disable comment option. 

Can anyone help in this regard. 

Thanks

Madhu

3 comments

Hi @Madhu Reddy ,

I'm unable to get suitable "Action" for disabling the Comments section. may be you raise a concern to Automation for Jira if you using.

 

image.png

 

Or 

 

I've seen some other community members mentioned by using script runner behaviors there is a possibility.

@Madhu Reddy 

Please try Permissions based on Workflow Status

It might be useful to give a few examples here:

jira.permission.comment.group=some-group
jira.permission.comment.denied=
jira.permission.edit.group.1=some-group-one
jira.permission.edit.group.2=some-group-two
jira.permission.modifyreporter.user=username
jira.permission.delete.projectrole=10000
jira.permission.subtasks.delete.projectrole=10000


You can even use the value as denied when the type is not used. For example, jira.permission.comment=denied 

means the comment feature is disabled at this state.

Hi @Madhu Reddy ,

the solution is probably a combination of the two answers already provided:

Disabling comments the way you're describing would fit best using status properties. That said, you'll have to move the tickets to an additional status where commenting is not allowed after being closed for 5 days.

Cheers
Thorsten

Hi @Madhu Reddy  as @Thorsten Letschert _Decadis AG_ commented, one solution is to have two closed status: “resolved” and “closed” ( this last status with property jira.permission.comment.denied=) when an issue is resolved goes  to “resolved” and with automation after 5 days in this status automatically transition to “closed” status.

Comment

Log in or Sign up to comment