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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

935 views 2 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you