Forums

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

Get issue keys in a version?

jelle van den broek
Contributor
September 27, 2022

Okay so i am making a page where i can see the details from all the issues in a version. But i dont know how to get all the issues from a version. I work in php and i know i need the issue key to get the information. So the problem is how i want to get the issue keys from a version. 

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
September 27, 2022

Hi @jelle van den broek -- Welcome to the Atlassian Community!

To do this from outside of Jira, you could create an application calling the REST API with a JQL statement, such as:

fixVersion IN (yourTargetVersion)

 

Kind regards,
Bill

jelle van den broek
Contributor
September 28, 2022

Thank you very much for your quick response. I'm trying this now: https://domain.atlassian.net/rest/api/2/search?jql=version=versionname But then I get the error that the field version does not exist.

jelle van den broek
Contributor
September 28, 2022

damn im dumb. like you said i need to use fixVersion. Now it works thx a lot

jelle van den broek
Contributor
September 28, 2022

now the big question is how can i do this in php laravel

Like Bill Sheboy likes this
Bill Sheboy
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.
September 28, 2022

That, I cannot answer.  I suggest waiting for others in this community to respond, doing an internet search, and possibly checking in the developer community for similar questions: https://community.developer.atlassian.com/

jelle van den broek
Contributor
September 29, 2022

i found out how to do it in laravel!!!!

$issueService = new IssueService();




$issueparam = $issueService->search( 'fixVersion = versionname'  );
Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events