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
Hello,
You could use Jira Rest API:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-api-3-search-get
You should send a JQL like this:
labels = URGENT
Try the advanced search (jql)
sprint = X and label = Y
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.
<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
It looks like you're new here. Sign in or register to get started.