Automation for Jira: "Copy from ..." not always shown

Alessandro Tondo
Contributor
February 2, 2018

I need to create several sub-tasks on issue creation and I found really useful to be able to set some of their fields from the main issue, directly from the automation rule.

However I found out that the options "Copy from issue/parent/epic" are displayed only for certain field types, e.g. Numeric Field can only be set with custom values only, Assignee can be easily inherited.

The simple workaround is to use the "More options" to set whatever is possible to, e.g.:

{
"fields": {
"mynum": "{{issue.mynum}}"
}
}

Or even by inserting  `{{issue.mynum}}` directly inside the empty space of the selected field (through "Choose fields to set...").

Is it a know issue, or it should suggest me the "Copy from issue/parent/epic" options?

 

1 answer

1 accepted

1 vote
Answer accepted
Huw Evans
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2018

Hi Alessandro,

This is the expected behaviour — it makes sense to add the 'copy from' options in a drop-down list, but less so in a normal field. However, as you noticed, the best way to do what you want is to insert `{{issue.mynum}}` or `{{triggerIssue.mynum}}` into the empty space in the field — this is totally acceptable and even preferred.

Let us know if there's anything else we can do for you,

Huw

Developer at Code Barrel

Alessandro Tondo
Contributor
February 5, 2018

That makes sense!

Thank you Huw

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events