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

Jira automation for update components from custom field

Hello everyone,

I have a multi-select list custom field "A". All the values in "A" are also components in the project (for example, for value "b" I have "b" component). 

 

What I am trying to do is that when field A is updated (values added/ removed) on an issue, update the component field with the same values on this issue. 

 

I tried a lot of smart values and options I found on the web, but none of them gave me what I needed. Is this thing possible?

I'll really appreciate your help.

Thank you!

1 answer

1 accepted

1 vote
Answer accepted

So I asked Atlassian and they gave me the answer. You need to do the following smart value:

 {
"update": {
"components": [ {{#issue.A}}{{^last}} {
"add": {"name": "{{value}}"}
}, {{/}}{{/}}
{
"add": {"name": "{{issue.A.last.value}}"}
}
]
}
}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events