Hello!
We want to create integration through Jira REST Api for two versions of Jira:
- Jira Software Cloud, version: 1001.0.0-SNAPSHOT
- Jira Software Server, version 8.20.9
We tried to use Personal Access Token (Bearer or Jwt auth) for requests REST Api, but it didn't work:
- for Jira Cloud version we didnt get any data, just empty arrays
- for Jira Server version we didnt get data or got 401 Unauthorized error
We need to request these endpoints:
- rest/api/2/serverInfo
- rest/api/2/project
- rest/api/2/project/:id
- rest/api/2/issuetype
- rest/api/2/issue/createmeta
- rest/api/2/issue/:id
- rest/api/2/search
- rest/api/2/issue/:id/attachments
- rest/api/2/attachment/:id
- secure/attachment/:id/:name
How can we solve this?
For Jira Cloud we used api token at first. But it doesn't fit in our case, because our client uses Jira Server without this feature and now it's not possible to install api token extension for their Jira from marketplace