Forums

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

Automation doesn't execute the additional fields section, and reports no errors

Mahan Lamei
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!
December 13, 2022

 

I have the following Additional fileds set up. It was initially working fine but it suddenly stoped working. The interesting thin is that while it was working fine, when I executed the rule (it is a manual triggered rule for now) the list of executions went blank an stopped updating, so I had to refresh to see my last rule has been successfully execute. Now it shows successful executions but nothing happens to the labels of the ticket. 

Is this a JIRA Cloud bug?

image.png

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2022

Hi @Mahan Lamei -- Welcome to the Atlassian Community!

As described in the documentation, I believe you need to split up the add and remove sections: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Adding-labels

For example:

{
"update": {
"labels": [
{
"add": "Released-{{now.format("EEE-MMM-dd")}}"
},
{
"remove": "DeployedToStaging"
}
]
}
}

 

Kind regards,|
Bill

Mahan Lamei
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!
December 14, 2022

Thanks Bill, it is working now!

Like Bill Sheboy likes this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2022

I am glad to learn it is working now.  Please consider marking this question as answered; that will help others with a similar need find solutions faster.  Thanks!

Like Mahan Lamei likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events