When a work item's status is changed, jira should compel the developer to add latest comments for that workitem. If the comments are not provided it will have the same status. If the latest comments are added, the workitem will move from current status to New status. Please help to set the rule
Hello @P Vinod Kumar
Welcome to the Atlassian community.
You cannot use the Automation Rule feature to meet this requirement. Automation Rules are triggered by the completion of an action. The rule could not be triggered until the transition is completed, so it cannot prevent the transition from completing.
As @pawarsachin84 suggested, this can be done by modifying the Workflow, if you are using a Company Managed project.
(Get the project Type information from the View All Projects page under the Projects menu.)
You would add a Transition screen to the Transition in the Workflow where you want to require the comments entry. Adding a Transition screen is only possible in workflows that are used in Company Managed projects. That feature is not available for Team Managed projects.
https://support.atlassian.com/jira-cloud-administration/docs/map-a-screen-to-a-workflow-transition/
In addition to the Transition screen, you would add a Validator for Field Required to the same transition to require an entry in the Comment field. If there is no entry the Validator does not pass and the user is not allowed to complete the status transition.
Hello @P Vinod Kumar
Thank you for the update, Sachin and Trudy. I have implemented a validation process that checks for empty comments whenever a work item changes status. If the comment field is empty, it prompts the developer to "Update Comments." However, despite updating the workflow, the system is not recognizing the comments and continues to display the same message.
Can you show us the Validator you created?
Did you add a Transition Screen to that same transition? Can you show us a screen image of the transition? Here's an example of what I'm looking for:
If you did add a transition screen, can you show us an image of that screen being shown when you make the transition?
Lastly, can you show us the workflow diagram pointing out the transition you have changed? This is an example of what I'm looking for:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @P Vinod Kumar ,
I can recommend (using Workflow Screens and making the Comments field required on the transition screen) is almost always the best solution. It's user-friendly, immediate, and uses native Jira capabilities.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the update, Sachin and Trudy. I have implemented a validation process that checks for empty comments whenever a work item changes status. If the comment field is empty, it prompts the developer to "Update Comments." However, despite updating the workflow, the system is not recognizing the comments and continues to display the same message.
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.