Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JMWE: Copy field value from linked issues

Hi Community,


we use the mentioned post function JMWE: Copy field value from linked issues and we want that only in case of connection with Period Issue Type, and if that ticket has in the name "backlog" that the accound value of the field will be copied to the newly created ticket.

Photo 1.JPG

Is this possible even because i don't have this option here?


Best regards


1 answer

0 votes

Hi @Jurica Petricevic ,

there are two ways to do this:

- using the "Issues returned by the following Groovy Script" option of "Source Issue(s)"

- using conditional execution together with a regular issue link type as the "Source Issue(s)" option

For the first approach, you can do something like:

issue.getLinkedIssues("blocks").findAll{ it.get("issuetype").name == "Period" && it.get("summary") ==~ /(?i).*\bbacklog\b.*/}

Of course, you'll need to adjust the issue link direction (here "blocks") or just use issue.getLinkedIssues() to return all linked issues, whatever the link type.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,099 views 34 44
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you