Forums

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

Updating "Labels" in main jira ticket based on "relates to" Jira ticket names in bulk

Aakash Patel March 29, 2021

I have a parent project. If I open a PRNT-001 Jira it has CHLD1-001, CHLD2-001, CHL3-001 in its relates section.

I am in a situation where, I want to update "Labels" or PRNT-1.

Logic to update labels -

Open PRNT-1 & see. If it has CHLD1-001 & CHLD2-001 then add labels "child1" & "child2" in lables section of PRNT-001.

Similarly, if I open PRNT-2 & there is only CHLD3-XXX ticket in relates to, I just want to add label "child3".

Please note, some of the labels might already exist there.

Is there a way to do this in bulk? as the only way I have is open each ticket, see relates too &then add labels based on what I see in relates too.

Thanking you all for helping in advance.

2 answers

0 votes
Aakash Patel March 29, 2021

Thanks @robert.nadon can you please specify how to add bulk labels?

Aakash Patel March 29, 2021

never mind boss - I got it. Thanks

0 votes
robert.nadon
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.
March 29, 2021

With a JQL search find all Issues that have a related to label 

issueFunction in linkedIssuesOf(project = CHLD1) and project = PRNT

then bulk add a label 

Then do the same for the other projects. 

The tricky part is to create a JQL to find all issues.  

This would help: https://jira.atlassian.com/browse/JRASERVER-23244 

Also this may help https://community.atlassian.com/t5/Jira-questions/Show-list-of-linked-issues-from-a-number-of-issues/qaq-p/273189

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events