how can customize prompt comment in jira by transition

Shakiba Osouli May 26, 2021

we make prompt comment in jira by transition but its for all user, we want to customize it, then jira-administrators can do transition without write comment

2 answers

1 vote
Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 26, 2021

Hi @Shakiba Osouli 

How do you currently validate whether the comment is mandatory?

If you are using scriptrunner, there is a behaviour that can help with this customization.

See https://scriptrunner.adaptavist.com/6.20.0/jira/recipes/behaviours/require-comment-at-state.html

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.
May 26, 2021

Hi Shakiba - Welcome to the Atlassian Community!

I would create a second transition that has a condition that can only be executed by Administrators. That transition would not have the prompt for a comment. 

Then I would add a condition to the original (existing) transition that has the prompt for the comment to not apply to Administrators. 

Suggest an answer

Log in or Sign up to answer