Forums

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

fill field in automation jira cloud

XXY
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!
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

4 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
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!
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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events