Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping comments on closed issues prevents a comment added during transition being added

Simon Atkin
Contributor
March 6, 2019

We use cloud Jira and want to prevent comments being added to closed issues.

To do this I have I have tried two approaches, but have experience the same issue with both.

I have added a property to the Closed status and that prevents users from adding comments once the issue is in that status. The two properties I have tried are:

  • jira.permission.comment.denied (set property value to '')
  • jira.permission.comment.user (set property value to false)

Both of these achieve the result of preventing comments once closed.

However, we display a screen on the transition to Closed, which shows a comment box. I have found that comments entered here no longer get added to the issue.

It seems that the status is changed first, then the system tries to add the comment from the screen but can't because the status is now Closed.

 

Has anyone else noticed this and is there a way around it?

1 answer

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2019

Hello Simon,

Thank for sharing your problem with us.

Digging a little further on this, I was able to find and reproduce the following bug that should be causing your issues:

Default post functions order causing values added in transition to be denied with certain status' property

Unfortunately, I was not able to find any workaround for this bug at this moment, so the best we can recommend you would be to watch the bug report to receive any notifications about its fix implementation or news.

Another option would be to create a new status previous the last one with the name "Observations" or "Final comment", to place the comment before the ticket closure, although I know this is not a very practical and efficient workaround.

Please, let us know if this information helps or if you still have any questions about it.

Have a nice day! 

Suggest an answer

Log in or Sign up to answer