Forums

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

[REST API] How can I get all the issues in a Fix Version?

Celso Martins August 22, 2018

Since the concept of project in the Jira env is completely wrong, since a project is a group of abstract business objectives with a start and an end dates, and we have to use the Fix Versions to have the true concept in place (Project in Jira is a Product and Fix Versions are real projects), my metric system, using the correct concepts, needs to sync the projects with the fix versions in Jira, getting all the issues in a fix version, to keep our business governance up to date.

How can I accomplish that?

 

Thanks

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 22, 2018

Hello Celso,

As mentioned by Matthias on this Question, you can perform a search with a JQL to select the issues you need.

Have a look at the API Documentation to search and try with a JQL like the one below, where 2.2.2 is the number of the version you're interested in:

fixVersion = "2.2.2"

Celso Martins August 22, 2018

OMG.

Anyway, thank you for your prompt answer.

I would not want to put JQL in my code, but it seems that Atlassian does not provide better options. Products as projects, projects as fix versions and now JQL as the only way to get the issues in a project (fix version). I'll try to find a better solution, but if I can't to find one, I'll consider polluting my code with JQL, the first ones, since the Active Record framework cleans my database SQLs out.

It is very annoying to pay Atlassian for this kind of solution. We will start to consider other tools, but since Atlassian almost monopolized the market, my application will have to have the ability to talk Egyptian, the Jira language.

Again, thanks anyway.. I think it is not your fault.

Best regards.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2018

Hello Celso,

I'm sad to hear that JIRA works in a different way you expect.

We are always working to give our customers a better experience, so feel free to give your feedback to our developers on https://jira.atlassian.com for anything you think that could work in a more efficient way.

Additionally, I would like to tell you that the JQL language it's simple and easy to work, so it should not pollute your code if used as punctual solutions. Here's a JQL guide if you find any questions when using it:

Search JIRA with JQL like a boss

Also, feel free to accept my answer if it was useful for you so it can help other customers looking for the same functionality.

Have a nice day!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events