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
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
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.
It looks like you're new here. Sign in or register to get started.