Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When a work item's status is changed, jira should compel the developer to add comments.

P Vinod Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2025

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

2 answers

1 vote
Trudy Claspill
Community Champion
July 17, 2025

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.

https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-validators-for-company-managed-projects/

Trudy Claspill
Community Champion
July 18, 2025

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:

Screenshot 2025-07-18 at 8.40.15 AM.png

 

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:

Screenshot 2025-07-18 at 8.42.09 AM.png

1 vote
pawarsachin84
Community Champion
July 17, 2025

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. 

P Vinod Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 18, 2025

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events