Forums

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

Disable comments on closed issues\enforce comment on re-opened issues.

Alfred Carlomagno August 8, 2018

Hi, I'm trying to disable comments on closed issues yet enforce comment on re-opened issues. I can't seem to do both. I have the following validation on my "re-open" transition:

If a value for field Comment is not provided during the transition, show the following error: Please explain why this issue needs to be reopened?

and if I set the Closed status to disable comments I have a catch 22, where you can't reopen because the status is still closed.  Is there a plugin-free workaround?

 

 

1 answer

0 votes
Raynard Rhodes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2018

You may be able to modify the status "Closed" to have the property

Property Key: jira.permission.commnet.group

Value: jira-administrators

So only Jira Admins can add comments while in that status

I am unaware once it is in transition if that restriction will be removed, but I am unable to find anything that explicitly just says "allowed" how it'll explicitly just deny being able to comment. (Something like jira.permission.comment.allowed, I'm unsure if this is legal)

 

While I'm not 100% sure on this, I am taking an educated guess because I don't want to interfere with our workflow to test.

Alfred Carlomagno August 8, 2018

I have tried the property: jira.permission.comment.user denied, however, this creates the catch 22. Since the status is still "closed" until the transition is completed, yet can't be completed because a comment is required. If I remove the validation it would work but I can't enforce them comment, and people could just close the comment screen.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events