Forums

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

How to add new components to an issue using advanced json

manas Sahoo
Contributor
January 20, 2021

Hello,

 

I want to add a new component to an issue on an automation event and it says how below advanced json can be used to set components, but in case my case I know the id of the component and I want to add to list of components and not remove them. 

 

"components" : [ { "name": "Active Directory"} , { "name": "Network Switch" } ]

 I tried

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

but it gives json error on runtime

1 answer

0 votes
Troy Spetz
Contributor
September 24, 2018

I don't work for Atlassian so I cannot 'shine some light' on their product strategy.

 

I can say that using JIRA 7.12 server version, it is still possible to do what you described as no longer working in the 'new JIRA experience': Create a single Board containing issues from multiple projects, using a JQL filter containing multiple projects.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events