The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Set multiple components from one hidden field to Jira

Adrian M
Contributor
September 21, 2023

Currently I have the following to set components:

"components" : [ {"name" : "[entry.component1.escapeJSON]"}, {"name" : "[entry.component2.escapeJSON]"}, {"name" : "[entry.component3.escapeJSON]"}]

This would require me to set multiple fields. One for each component name. 

How can I set multiple component names from one hidden (not user selected) field/array and pass that to Jira?

For example something like:

"components" : [[entry.components.asArray(name)]]

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events