Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,408
Community Members
 
Community Events
165
Community Groups

Error for automation scenario

Edited

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

2 answers

1 accepted

1 vote
Answer accepted

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
Baddy I'm New Here May 08, 2022

So what was done to fix the issue? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,446 views 37 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you