The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
  • Community
  • Q&A
  • Jira
  • Questions
  • Automation, Copy select list (cascading) custom field from an issue to new issue on transition

Automation, Copy select list (cascading) custom field from an issue to new issue on transition

Natanael Aubert
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 2, 2023

Hi Everyone,

Need help configuring JIRA Automation,

I was trying to copy one custom field with Select List (Cascading) type from original ticket to a newly created ticket using JIRA automation.
As I notice, Select List (Cascading) Custom Field are not supported in "Choose Field to Set" in the Issue Create option.

Now the question, 
Is it configurable using "More Options"?

In there, additional field values seems can be configured using a JSON object,
But I'm not sure how.

Thanks.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Mark Segall
Community Champion
May 2, 2023

Hi @Natanael Aubert and welcome to the community!

You're correct, this can be done in the More Options section of the Create/Clone/Edit  issue actions:

{
  "update": {
    "CUSTOMFIELD": [
      {
        "set": {
          "value": "{{triggerIssue.fields.CUSTOMFIELD.value}}",
          "child": {
            "value": "{{triggerIssue.fields.CUSTOMFIELD.child.value}}"
          }
        }
      }
    ]
  }
}

 You would replace "CUSTOMFIELD" with your custom field name

Rompicherla Kalyani
Contributor
July 9, 2023

Hi @Mark Segall 

Can you please let me know the navigation for this "More Options" section to provide the update script.

Is this feature available in JIra cloud as well?

Thanks,

Kalyani.

Mark Segall
Community Champion
July 10, 2023

Sure @Rompicherla Kalyani  - On the Edit Issue action, you'll see a "More Options" section that is collapsed by default.  Expand that and you'll see an area where you can add the custom JSON.  See the screenshot below:

2023-07-10_05-37-38.png

Like • Rompicherla Kalyani likes this
Rompicherla Kalyani
Contributor
July 10, 2023

Thanks for the response @Mark Segall 

My requirement is to copy only the parent value from a cascading field to another select list field on Issue creation and cascading field value change as well.

Can this be done using this Edit Issue action.

Please let me know if this is possible in Jira cloud.

Best regards,

Kalyani.

Mark Segall
Community Champion
July 10, 2023

I'll be happy to help with this, but to keep this question clean and prevent notifications for any watchers, can you please create a new question for this (you can @mention me on it to ensure I respond to it)?

Like • Rompicherla Kalyani likes this
0 votes
Natanael Aubert
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 2, 2023

Works like a charm, Thanks @Mark Segall !

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events