Looking for documentation

I cannot find anywhere the documentation on how to use the jira-rest-java-client-api

(https://maven.artifacts.atlassian.com/com/atlassian/jira/jira-rest-java-client-api/7.0.1/)

I have tried to generate the client myself using swagger codegen but there are a lot of problems and compilation errors, so I am trying to use the client generated by Atlassian.

Any help is very appreciated.

Hey @FrancescoRaccuglia

You can find basic docs in the README at the bitbucket repository for the jira java rest client here: Bitbucket

However, it looks like you’re building for Jira Cloud, rather than Jira server. Can you tell me more about what you’re trying to build?

Cheers!
Mel

Thank you for your reply.
Yes I am building for cloud. I have managed somehow.
I generated myself the client using the swagger file, but it is not that straightforward process. I had to modify the swagger file and also swagger codegen is not working, so I used the openapi one.
Also needed to amend some generated classes because they were wrong. For example the Project pojo was missing a field and the api call was failing due to the Json parsing exception.
Thank you again.

Hey @FrancescoRaccuglia my understanding is that this tool is designed to work with Jira Server, not Jira Cloud - which could explain why this is the case.

I hope this explains.

If you are not stuck with Java, I can recommend this Python library that works with Jira Cloud and is maintained