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,556,800
Community Members
 
Community Events
184
Community Groups

JIRA Cloud - Copy custom field to component field

Hello to all,

I have a request and I cannot find any answer.

Is it possible to copy the value of a custom field to the component field ?

To add some details, the custom fields are dropdown list (cascading).

What I'd like is that :

When the values from the list are selected or modified on the JIRA issue, then the component should be updated according to the value selected.

Thanks,

Regard

Rémy

2 answers

2 accepted

0 votes
Answer accepted

Hello

I find the solution. Here is the smart values to use : 

 

For simple list : 

{{issue.CustomField_xxxxx.value}}

 

For cascading list : 

{{issue.CustomField_xxxxx.value}} ==> parent value

{{issue.CustomField_xxxxx.child.value}} ==> child value

 

*xxxxx refers to the id of the custom field

 

Hope that will help !

Cheers

Chiru
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2023

Didn't work

image.png

0 votes
Answer accepted
Dave Bosman _Realdolmen_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 12, 2021

Hi @Rémy PREVOT 

Welcome to the community.

Out of the box it is not possible. However this can be solved with automation for Jira

You need to create a rule that triggers on the change of the custom field that you have and then copies the value to the component field. 

Regards

Dave

Hi @Dave Bosman _Realdolmen_ ,

Thanks for your reply. 

I'll try with your solution.

Because I tried to implement some post functions but it did not work.

Regards,

Rémy

Hi @Dave Bosman _Realdolmen_ ,

I tried to configure some automation rule but it does not seem to work. 

Or it does not seem to get the value from the custom field and copy it in the component field.

Plus, I don't see option to select "copy value from"

Do you know how could I configure it ? Have you done it once ?

Looking forward for your reply

Thanks

Regards

Rémy

Dave Bosman _Realdolmen_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 13, 2021

Hi @Rémy PREVOT 

You should use a smart value 

In my example it is done with the field "Affected services"

2021-07-13 12_29_12-Window.png

Regards

Dave

Hello @Dave Bosman _Realdolmen_ ,

I tried it but the component isn't updated. 

Capture d’écran 2021-07-13 à 12.53.41.png

 

Whenever I change the value of my custom field, the component is not updated with the value.

Did it work for you ?

Thanks 

Regards

Rémy

Hello @Dave Bosman _Realdolmen_ ,

Any update regarding this subject ? 

It could be very helpful

Thanks 

Regards

Rémy

Dave Bosman _Realdolmen_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 16, 2021

Hi @Rémy PREVOT 

Does the value already exist as a Component?

Regards

Dave

Hi @Dave Bosman _Realdolmen_ ,

Yes it does. 

And when I check the audit, it appears as "success" - wether the value exists or not btw.

Regards,

Rémy

Dave Bosman _Realdolmen_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 16, 2021

Could you share a screenshot of the audit?

Also, the user that is executing the rule, does he have permissions in that project? 

@Dave Bosman _Realdolmen_ , 

The user is the admin and we gave it all the necessary permissions on the project.

Here is the screenshot : 

Capture d’écran 2021-07-16 à 13.07.43.png

Here is a screenshot of the modification : 

Capture d’écran 2021-07-16 à 13.07.52.png

Screenshot of the result :

Capture d’écran 2021-07-16 à 13.08.07.png

Screenshot of the existing component list : 

Capture d’écran 2021-07-16 à 13.08.14.png

 

Regards,

Rémy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events