The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Is this possible even because i don't have this option here?
Best regards
Jurica
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.
👋 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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.