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

Copy the cascading field(select list) on automation to another issue from another project

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?

 

4 answers

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!

Hello @guy 

I am no developer person, and I tried your solution as is and this worked for me too.

Thank you for sharing :)

1 vote
Julien Peyrade _ Elements
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Aug 30, 2021

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

0 votes
Sherry Goyal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 30, 2021

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 

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 28, 2021 • edited

@Guy Mandel -

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.

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.

Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 29, 2021

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

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