Forums

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

Error for automation scenario

Evgenii Baulin
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 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

1 answer

0 votes
MattS
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 Champions.
May 18, 2017

Perhaps the ScriptRunner Behaviors feature?

Suggest an answer

Log in or Sign up to answer