How can I copy fixVersions from parent issue to issues I am creating using the plugin?

I am using JIRA Cloud Version and I am trialling the Project Automation plugin to automatically create some issues when a new Epic is created.  On these automatically created issues I want to set the Epic Link (to the key of the parent Epic) and the fixVersions (to the fixVersions of the parent Epic).  I can set the former via the Additional Fields JSON snippet, but I can't find the syntax that will do the job for the fixVersions.  Any help hugely appreciated!

3 answers

0 vote
Nick Menere Community Champion Sep 20, 2016

Hi Carlos,

I just implemented the ability to copy the original issues Fix Versions during Create issue.  I added the option "Copy from source issue" that should do exactly what you are after.

Let me know how you go.



Hi Nick

Many thanks for your quick reply.  I tried the new option and unfortunately there seems to be a problem.  The issues no longer get created because of an error.  In the Audit Log I see:

Error creating issue    Version id '10404' is not valid

I should add that the issues I am creating automatically are not in the same project as the source issue, which may have something to do with the error question

BTW, I had been working around the limitation by adding a post function to my workflow to copy the fixVersions from the parent Epic, and adding a component in my automation rule to transition the newly created Epic to 'ToDo', thus firing the post function.  It's a bit hacky but it works..



Nick Menere Community Champion Sep 21, 2016

Ahh, you didn't say it was for another project.  I've just updated it so it should now work with different projects.

Perfect - it works a treat!  Many thanks Nick.

Nick Menere Community Champion Sep 22, 2016

Great to hear!

On a related note, how do I copy the Sprint field? 

What is the syntax for accessing the sprint field value so I can append it to the summary of the subtask I'm creating? 



Nick Menere Community Champion Dec 09, 2016


I've had a look and unfortunately it can't be done at this time. I've added an issue to track this as I think it is important to do -

The current problems include the format with which JIRA renders the sprint on the issue. It is some legacy format that is of no use. The other issue is that it is an array (And not a single value).

We should be able to solve both these issues when the above issue is looked at.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

31 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you