The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

fill field in automation jira cloud

XXY
Contributor
November 9, 2025

My workflow, when status A transition to status B, comment field is required in transition screen. 


But sometimes i may use automation do the transition then add universal comment content. Automation logs shows some errors, cause field comment is required.


Is there any other way to implement it besides adding another transition.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

5 votes
Answer accepted
Charlie Misonne
Community Champion
November 10, 2025

Hi @XXY and welcome to the Atlassian Community!

I think you should be able to add the comment during the transition even with an automation rule.

In the "Transition work item" action there is a more options button. When you click that you will see a text box with an example on how to add a comment during the transition.

This is the example content:

{
"update": {
"comment": [
{
"add": {
"body": "Thanks for raising {{issue.key}}."
}
}
]
},
"fields": {
"resolution": {
"name": "Fixed"
}
}
}

You can get rid of the "fields" part since you only want to add a comment. Making it this:

{
"update": {
"comment": [
{
"add": {
"body": "Thanks for raising {{issue.key}}."
}
}
]
}
}

Try this and let me know how it goes :-)

XXY
Contributor
November 10, 2025

Thank you!

It works.

Like Charlie Misonne likes this
Charlie Misonne
Community Champion
November 10, 2025

That's great. Glad I could help!

TAGS
AUG Leaders

Atlassian Community Events