The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Link Tasks to Epics with identical fields

Gregor Weis
February 14, 2022

I have around 800 Epics that actually should be linked to underlying tasks. Their mapping should be recognized by carring identical data (a number) in one particular jira issue field. Something like "Link all Epics A to all task issues B with identical field content C" How can I link these thousands of tasks with their respective Epics without having to repeat this 800 times, but do it in bulk?

many thanks for your help

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Gregor Weis
February 14, 2022

thanks Fabian for the input. i am doing bulk changes quite often and am familiar with that flow. I believe you are describing a flow where I can enter e.g. one new Epic Key for e.g. 5 tasks withn the bulk edit flow.

But I need to apply a logic to do it for 800 different epics to link them to their matching of around 4000 tasks. At the end each epic has 5 tasks linked to them, and the mapping is accomplished by identifying that the jira field "A" is present in the epic and each task.

do you have an idea how to solve that?

Fabio Racobaldo _Catworkx_
Community Champion
February 14, 2022

Hi @Gregor Weis ,

in order to do that you should write code with logic and perform that operation.

I suggest ScriptRunner Console

ScriptRunner App :https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=overview

Script Console : https://scriptrunner.adaptavist.com/latest/jira/script-console.html

Fabio

Gregor Weis
February 14, 2022

thanks a lot Fabio!

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
February 14, 2022

Hi @Gregor Weis ,

you can do that through a bulk edit (https://confluence.atlassian.com/jirasoftwareserver/editing-multiple-issues-at-the-same-time-939938937.html) and adding you epic key into field Change Epic Link.

Please, verify that all issue that you need to link to Epic are in a status that allows you to edit them.

Hope this helps,

Fabio

TAGS
AUG Leaders

Atlassian Community Events