I'm quite new to using JIRAs API, but basically, long story short, i need to get all the issues that have a fixVersion of x.x.x
How would i achieve this (I'll be using NodeJS)?
Hello,
You would need to use the search Rest Api method:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-api-3-search-get
This method has the JQL parameter. You can pass any valid JQL query. For example:
fixVersion = yourversion
Perfect! just what im looking for
Just a little extra context, I decided to use the npm package jira-connector`
That way its as simple as :
let query = { jql: 'fixVersion = 1.2.0', maxResults: 100, startAt: 0, fields: [ 'summary', 'description' ], fieldsByKeys: false }jira.search.search(query, (err, issues) => { console.log(issues) }
It looks like you're new here. Sign in or register to get started.