Forums

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

Copy field from Parent Link custom field valuse to initiative using automation

Danielle Dionne
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 31, 2023

I am trying to use the automation tool to get a custom field value from the Parent Link associated to an initiative ticket.

 

  • Get "Category" from Parent Link and enter Parent Link Category value to Category (same field) in initiative. 

Every time I try to run the rule via "Edit Issue and Copy from Parent" the audit log says "Can't find issue to copy from labels" 

 

I believe I need to do the following:

  • trigger: issue updated, parent link changes
  • condition: parent link is not empty
  • condition: issue type equals Initiative
  • action: create variable, such as named varParent.customfield_11809
    , initialized to null
  • branch: on JQL where key = {{triggerIssue.parent}}
    • action: create the same variable again, such as named varParent.customfield_11809, setting it to {{issue.customfield_11809}}
  • condition: {{varParent.customfield_11809}} does not equal null  (see note below)
  • action: edit issue to set the labels to the created variable, {{varParent.customfield_11809}}  To do this, you will need to type in the value, and then select it.

But it doesn't actually add the value:

Screenshot 2023-05-31 at 9.51.02 PM.png

0 answers

Suggest an answer

Log in or Sign up to answer