You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I need to run Automation rules where Jira issues should not be closed or DONE till commit is done and commit id is mentioned by the user
Hi @SandeepSingh R
As mentioned by @Hauke Bruno Wollentin You can use Workflow Validator/Condition to fulfil this requirement. You can add any of it on the required transition and add a transition screen in which you can add your "Commit" field which can be filled by users manually while transitioning issue.
Hope this resolves your query!
Maaan, I red "comment" instead of "commit". My bad 😅
The first one can be achieved using the Field Required Validator in the workflows transition.
Go to Edit Mode of your workflow -> Diagram view -> click on the desired transition -> click on Validators on the right side -> Add a Field Required Validator -> choose Comment as the required field.
I'm not sure if this is still present, but AFAIR without a plugin like scriptrunner you can't check if the comment is just whitespaces or so.
I'm also not sure if I understand the "commit id is mentioned by the user" part correctly.
Should a user refer to another comment in the closing comment?