JQL query to update story label with the epic label information

Bala Yadlapalli October 30, 2020

Need your help. Is there any jql query to update story label with the epic label information? we have so many stories with no labels and would like to identify and update with the epic label.

1 answer

1 accepted

0 votes
Answer accepted
Yevgen Lasman
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.
October 30, 2020

The JQL is the search language, it does not update anything. If you are seeking for the way to bulk add labels to issues there are several ways to do this, from using REST API to utilizing one of the app available on Marketplace which provide scripting capabilities.

Muhammad Ramzan(Atlassian Certified Master)
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.
October 30, 2020

you can achieve with two steps.

 

1 - search the stories with empty label belongs one the required epic , example

Epiclink=abc and label is empty

It will get all stories with empty label  belongs to epic abc

 

2 - Now perform the bulk operation and update the story label.

Bala Yadlapalli November 2, 2020

Thank you. I was able to update now. Can we auto update within JIRA?

Suggest an answer

Log in or Sign up to answer