Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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
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