Forums

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

Searching for issues with a specific label

Sandeep Varada
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2018

Hi

 

We have requirement to get the list of issues assigned to a sprint with a specific label URGENT to merge the code in bit bucket with the associated tickets. To build and deploy the code.

JIRA used is cloud platform and the url is like https://companyname.atlassian.net

 

We are trying to do this as a part of cicd from jenkins

3 answers

2 accepted

2 votes
Answer accepted
Alexey Matveev
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 1, 2018
Alexey Matveev
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 2, 2018

<url part>/search?jql=labels%3DTalent%20and%20status%3D2 

You should pass the whole JQL for the jql parameter

jql=lables=Talent and status=2

1 vote
Answer accepted
Nic Brough -Adaptavist-
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 1, 2018

Try the advanced search (jql)

sprint = X and label = Y

0 votes
Sandeep Varada
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2018

Hi

Thank you for the quick help.

I am new to the Rest API stuff, But created a seach result like the below

 

https://domain.atlassian.net/rest/api/3/search?project=10003&jql=labels=Talent&jql=status=2.

 

But the response shows all the statuses available instead of the desired status.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events