Firstly we have to use the Token. Username/Password is not an option given our company security organisation.
We have been using a token for some time as part of API calls from Groovy to transition tickets in a Jira project
- The first call gets the available transitions for an issue
- The next actions the transition, using the found transition ID
The problem is that this code is also to be applied to other Jira projects.
Whilst it works fine to transition issues in the existing Jira project, it returns no transitions data for the new projects. The user that the token relates to has the same role assignment in both projects. Using a token for a different user (with the same role credentials) in the new project, also works exactly as expected
Using the existing token in the new project returns [] as the available transitions, despite the http response code being 200.