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
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
Didn't work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rémy PREVOT
You should use a smart value
In my example it is done with the field "Affected services"
Regards
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Dave Bosman [Realdolmen] ,
I tried it but the component isn't updated.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Dave Bosman [Realdolmen] ,
Any update regarding this subject ?
It could be very helpful
Thanks
Regards
Rémy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you share a screenshot of the audit?
Also, the user that is executing the rule, does he have permissions in that project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The user is the admin and we gave it all the necessary permissions on the project.
Here is the screenshot :
Here is a screenshot of the modification :
Screenshot of the result :
Screenshot of the existing component list :
Regards,
Rémy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Try storing the value with the "Log action" action, and then call upon the value that you stored in the next step in order to edit the "Components" field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.