I am still getting up to speed with APIs, so bear with me.
I'm attempting to query the "fixVersion" field in Jira Project using API in order to update the same field in another Application (Workfront). Is this possible?
Assuming all I need to do is query the fixVersion field in the context of a single project and return the entire list of versions for that project, but I'm not sure how to construct the query
http://jira.mycompany.com/api/2/search?jql=project=LEG&fixVersion ?
Hey @Ben Radlinski
thanks for your question.
There is a special REST API endpoint for this:
https://docs.atlassian.com/software/jira/docs/api/REST/9.10.0/#api/2/project-getProjectVersions
We're on Datacenter on prem, version 8.20.12, so I'm guessing this is probably a new feature? I tried I couple versions of the above using our url, but no luck.
But this is very helpful, I'll do some more digging.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This should already be available in your version.
What is the response you are getting?
I forgot to mention, that this endpoint will report all versions, not only the ones used in the fixVersion field 😕
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I try it like this:https://jira.it.company.com/rest/api/REST/9.10.0/#api/2/project-getProjectVersions
I get a "you've found a dead link" page (I'm using Postman to test)
just realized that was the doc link and not an example (it's been a long day).
When I try it like this:
https://jira.it.company.com/rest/api/2/project-getProjectVersions
I get a 404.
That's actually the information we're looking for (all of the release versions)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes! Thank you. Huge help.
this works: https://jira.it.company.com/rest/api/2/project/ID/versions
I appreciate the help and explanation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.