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:
