Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,644,720
Community Members
 
Community Events
196
Community Groups

How can I copy a multi-level-cascading-select value with Automation for JIRA?

Edited

Hi, can you please tell me what is wrong in my JSON?  I set up copying the value of the multi-level-cascading-select field, from one task to another, but the field with my JSON is not copied.

{"type":"array","items":"string","custom":"com.sourcesense.jira.plugin.cascadingselect:multi-level-cascading-select"

{
"update": {
"customfield_xxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield.customfield_xxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield.customfield_xxx.child.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield.customfield_xxx.child.value}}"
}
}
}
}
]
}
}

1 answer

1 accepted

0 votes
Answer accepted
Julien Peyrade _ Elements
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Oct 15, 2021 • edited

Hello @Денис Шитягин 

I think the correct JSON would be something like this : 

{
"update": {
"customfield_xxxxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_xxxxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_xxxxx.child.value}}"
}
}
}
]
},
"update": {
"customfield_xxxxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_xxxxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_xxxxx.child.value}}"
}
}
}
]
}
}

 

So, basically, one update for each child value.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events