Skip to content

Method getEpicIssues of EpicsApi should return List<Issue> not List<Epic> #989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hsebouai opened this issue Jun 14, 2023 · 2 comments
Closed

Comments

@hsebouai
Copy link

hsebouai commented Jun 14, 2023

Right now the ability to retrieve a given epic issues have the following signature:

public List<Epic> getEpicIssues(Object groupIdOrPath, Long epicIid) throws GitLabApiException 

Even if right now the serialization is working because the Epic model is composed of all the properties that we receive when de-serializing, It does not make sense that we return a list of epics rather that list of issues.

Furthermore, we loose all the pertinent information that an issue exposes like the project_id, assignees, type, ... and so on.

@jmini
Copy link
Collaborator

jmini commented Jun 15, 2023

I think this is a duplicate of #729

And good news this should be fixed in 6.0.0-rc.2 and 5.3.0 that were released today.

  • 5.3.0 requires Java 8 as minimal version and using a Jersey version using javax.* packages (for servlet, jaxrs and similar).
  • 6.0.0-rc.2 requires Java 11 as minimal version and using a Jersey version using jakarta.* packages (for servlet, jaxrs and similar).

Please check again and re-open if you need something additional.

@jmini jmini closed this as completed Jun 15, 2023
@hsebouai
Copy link
Author

Thank you for the fast reply and resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants