Forums

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

Force comment field when changing status to done based on label?

Youri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2020

Hi,

Is it possible to force a comment field when changing the status to done, but only with issues that have a certain label?

So for example what I want is: an issue with the specific label will force you to write a comment once you change the status to done.

Other suggestions are welcome as well!

Cheers.

2 answers

0 votes
David Fischer
Community Champion
December 13, 2020

With JMWE, you need to add a Build-your-own (scripted) Validator on the transition to Done with the following script (Jira expression):

!!issue.labels || !issue.labels.includes("mylabel") || !!issue.comments && issue.comments.some(it => it.id == null)
0 votes
John Funk
Community Champion
December 11, 2020

Hi Youri - Welcome to the Atlassian Community!

I would suggest taking a look at the JWME app to help with that. 

addon-com.innovalog.jmwe.jira-misc-workflow-extensions

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events