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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.