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

Youri 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events