Error for automation scenario

Evgenii Baulin November 17, 2020

I'm trying to create automation rule with a such content: Screenshot from 2020-11-17 16-46-09.png

Update JSON is:

{
"update": {
"components": [
{
"add": {
"name": "{{repositoryName}}"
}
}
]
}
}

 

As a result i hava an error message after triggering this scenario: Field 'components' cannot appear in both 'fields' and 'update'

 

What should be done to make it works?

 

Thanks for help

3 answers

1 accepted

1 vote
Answer accepted
Evgenii Baulin November 17, 2020

I have found the issue: it has no sensce to add component field by standard and custom ways. That's why `both 'fields' and 'update'` appeared.

0 votes
Syed Fazeem September 12, 2023

I am getting Invalid JSON.

0 votes
Baddy May 8, 2022

So what was done to fix the issue? 

Hanna_Kukharenka November 6, 2022

@Baddy basically deselect the field from the "Choose field to set" drop down:

Pic.png

Like # people like this
Patrick Haley February 22, 2023

Thank you!

Edward Santilli
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!
February 4, 2024

Huge thank you!

Suggest an answer

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

Atlassian Community Events