Can I update issue status using /status in comment
Asked by George Neshev:

Is it possible to automatically update the issue status when writing and posting an internal comment, using the /status function?

If not, any suggestions on how to approach?

![Screenshot 2024-04-18 153907.png](/t5/image/serverpage/image-id/319265i4082F9C07A9A19CC/image-size/large?v=v2&px=999 "Screenshot 2024-04-18 153907.png")


Answers:
author: Joseph Chung Yin
body: [@George Neshev](/t5/user/viewprofilepage/user-id/5475954) -

I agreed with what [@John Funk](/t5/user/viewprofilepage/user-id/7148) stated to use automation rule to move the issue status when comment is posted route.

Question for you. When one adds comments in the project UI on the issue in question, he/she can simply change the issue status. If you want to have he/she to always enters comments for their action, then you can also customize your WF for the issue transition to include a pop-up window and a validator to make "comment is required". Therefore, the issue cannot be transition unless there is a comment entered.

This way, one don't have to explicitly to go to the comment section of the issue to enter his/her comments.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: John Funk
body: Hi George,

What exactly are you trying to accomplish? What is the use case?

comments: author: YY Brother
body: To resolve unlicensed agent to update JSM tickets' status?


author: George Neshev
body: Improved efficiency. I find myself duplicating work by having to note the /status in the comment and then change the status on the mainticket too.

Was wondering if it's possible for JIRA to detect the status in the latest comment and update main status.


author: John Funk
body: Still not following you. Can you lay it out step by step? When I do this, I want this to happen?


author: George Neshev
body: Step 1: Post a comment with /status function![Screenshot 2024-04-18 160434.png](https://community.atlassian.com/t5/image/serverpage/image-id/319271i544C6D093638C709/image-size/large?v=v2&px=999 "Screenshot 2024-04-18 160434.png")

Current outcome: Nothing, comment posts as expected.

Desired outcome: Task status automatically updates from 'In Progress' to 'Waiting for customer'

![Screenshot 2024-04-18 160610.png](https://community.atlassian.com/t5/image/serverpage/image-id/319272iCD88030060C08FFC/image-size/large?v=v2&px=999 "Screenshot 2024-04-18 160610.png")


author: John Funk
body: Okay, I think I am getting there. :-)

Take a look at this article. It's more than you need, but check out the part with the automation rule where it sniffs for a comment being added with specific text and then does an auto transition.

|-----------------------------------------------------------------------------------------------------------------------------------|
| <https://community.atlassian.com/t5/Jira-Service-Management-articles/JSM-Approvals-by-Email-with-a-work-around/ba-p/1696674#M699> |


author: George Neshev
body: Could you send an example of the automation please? Showing the configuration for the comment in particular?


author: John Funk
body: It's in the article I linked above.


author: YY Brother
body: Hi [@George Neshev](/t5/user/viewprofilepage/user-id/5475954)

Welcome to our Community.

The text /status has no relation to the workflow status. I think we should go to status switch button to implement it.

Thanks,

YY?


Tags: cloud

jira-service-management

jira-service-management-cloud