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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

automation : copy first value of cascade custom field to another first value of cascade custom field

 

With Jira automation, I need to copy the first value of the cascaded custom field to another first value of the cascaded custom field

 

How can I do this?

 

regards

2 answers

1 accepted

@Frédéric Battesti 

In an 'edit issue' component of the Jira for Automation rule > More options use this:

{
   "fields": {
      "Cascade2": {
          "value": "{{issue.Cascade1.value}}"
      }
   }
}

 

thank you very much  

It's super.

Like Rudy Holtkamp _TMC_ likes this

Note my other remark, it does not create options in Cascade2, it can only select the an existing option.

Hi @John Funk 

It didn't work for me.

0 votes
John Funk Community Leader Jun 29, 2020

Hi @Frédéric Battesti  - Is that within the same issue? You should be able to do that with the Bulk change function. Just run a filter/query for the one(s) you want to change (assuming they are changing to the same value). 

Then choose the Bulk change function and proceed through the process. 

hi John

thank you for your reply

 

I want to use the automation function. Mass change is a manual action.

 

When the problem is created, the first cascaded custom field is required.

The second cascaded custom field is required later in the transition screen workflow.

I want the parent field of the first cascade field to be automatically copied to the parent field of the second cascade field.

In automation the copy is possible but my second field is not in the list of selectable fields.

John Funk Community Leader Jun 29, 2020

Not sure I am completely following. Can you give an exact example?

Something like Field A is cascading and has a value of X for the first value.

When something happens (identify what happens to kick off the Automation trigger), then copy X from Field A to the first value of Field B

Can you provide something like that?

I just read your reply @Frédéric Battesti , but this is not possible since there is no public API (yet) to add options to a select field (whether this is a normal select or a cascading select field).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,022 views 8 28
Join discussion

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