I can get all versions of a project and all epics too, but I can not relate this versions(releases) to the epics.
what I want is: to get all epics which belongs to a version. is there a way to do so?
Hi @Mehran -- Welcome to the Atlassian community!
Have you tried to from a JQL query and then call the REST API for it? Maybe something like:
project = myProject
AND issueType = Epic
AND fixVersion = myVersion
ORDER BY Key
Then look at the examples here to make the REST API call for the query:
https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/
Best regards,
Bill
thanks a lot for your answer. be glad to be part of this community.
it doesn't work for me , but I wanted for a known epic for example epic = 'Desktop' to become all the versions which they have issues in common. for example maybe a release(version) has no issues with the this epic. and this answer which uses issueType as Epic gets all epics, although it doesn't work for me
Tanx again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mehran
Thanks for the additional information, but I am now confused what you are trying to accomplish.
I can tell you that JQL is not SQL; it is much simpler. It seems you are trying to form a complex query with joins that JQL cannot perform. And so, the REST API couldn't call such a query.
To form such a query you would need one of the marketplace add-on tools which improve the query language, such as ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.