Hello,
I need to copy the cascading field from one issue in one project(HR) to another issue on another project(IT).
I created automation to create a new issue on "IT" project if the new issue in the project "HR" opening, this is working but I can't copy the Cascading field between the project.
the cascading field available in both projects.
I need to copy some fields and this is the only field that I could not be copying.
I try many ways to copy the field in JSON but it's not working for me, the field is still empty.
this is the JSON code in the automation on "HR" project.
{
"fields": {
"customfield_10104": {
"value": "{{issue.customfield_10104.value}}",
"child": { "value" : "{{issue.fields.customfield_10104.child.value}}"
}
}
}
}
Does someone know how to copy the field between the projects?
Hello everyone,
First thanks for trying to help me with this issue.
I tried everything you said but it still does not work ...
I researched the JSON code again and found the right JSON for my problem
{
"update": {
"customfield_10104": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_10104.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_10104.child.value}}"
}
}
}
]
},
"update": {
"customfield_10104": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_10104.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_10104.child.value}}"
}
}
}
]
}
}
This worked for me! Thanks for sharing your solution!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @guy
I am no developer person, and I tried your solution as is and this worked for me too.
Thank you for sharing :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Guy Mandel
Thank you for sharing this solution. It worked!.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, It worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Guy Mandel
If you don't mind using another app, another solution would be to use the add-on Elements Copy & Sync, which lets you copy all kinds of fields, including cascaded select lists.
I'm the Product Manager of this add-on which is available on Jira Cloud and Server/Data Center, and I'll gladly answer any question you may have.
Regards,
Julien
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Guy Mandel
Can you try printing its value to audit logs and see what comes in there.
{{issue.customfield_10104.value}}, {{issue.customfield_10104.child.value}}
If these values comes out to be empty, try printing this:
{{issue.fields.customfield_10104.value}}, {{issue.fields.customfield_10104.child.value}}
Either one of these should work.
Thanks
Sherry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked to ensure the custom field's context (HR) is the same for your IT project?, Both projects should have the same custom field configuration - context setup.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, I checked to make sure the custom fields are is for any issue type and Global context in configuration.
The field is available to both projects.
Thank you for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good. Now you will need to ensure that your copy field process (taking the HR issue custom field value during IT issue auto-creation process) is placed after the HR issue is created first.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.