Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automate to copy a cascading select field data to another select field

vikranthcms September 21, 2021

I have a cascading select field in a project and I want to copy the parent value of it to the newly created select custom field. I want to automate this like when any user change the parent value of the cascading field it should automatically update the new created select field and vice versa. 

Example: field1(F1) is the cascading select  field and Field2(F2) is select field.

F1- parent values are a,b,c and child values are 1,2,3

F2 - Values are a,b,c

If the user edit the issue and change the F1 value to b it should also update the F2 value to b and vice versa.

 

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
September 21, 2021

Hi @vikranthcms 

This can be done with Jira automation. Have you tried it?

  • Create new rule
  • Trigger: Field value change (F1)
  • If issue is not subtask
  • Branch rule: For stories etc
    • New action edit issue and copy smart value {{triggerIssue.fields.YOUR FIELD.value}}
  • Branch rule: For subtasks
    • New action edit issue and copy smart value {{triggerIssue.fields.YOUR FIELD.value}}

 rule community.png

vikranthcms September 22, 2021

Thanks for the response but mine is server/data center one. and does not have Automation doe jira addon installed. I have Script runner plugin can you help achieve this using that. 

Also the F2 field is in the same issue type. 

Example: Like I have new feature issue type with F1 and F2 in it. the F2 filed in not in different issue type

Suggest an answer

Log in or Sign up to answer