One month ago I wrote a Github Actions Workflow that 1. Finds any JIRA issue numbers in a merged pull request, and 2. Uses the JIRA rest API to move those tickets into a target repo/environment (in this case it is Staging and Production).
Here is the API call portion of my script:
```
```
It worked for a week or two, and then seemingly out of nowhere I was presented with the following error:
```
{"errorMessages":["Can't move (SCRUM-27). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator."],"errors":{}}
```
I've tried:
1. Checking that the target transition ids are correct
2. Updating the API key several times
3. Confirming that my email (Org Admin) and all other keys/secrets are correct and properly stored/declared in github's secrets manager
During the time between when it worked and it started failing, the only change to my JIRA organization (which uses the Free tier) was that I added two new users.
Any help would be greatly appreciated, as it took me a while to get the script working in the first place.
Hi Kraig,
You should be able to limit a user to only one schema. To do this create a new user and then add only this user to a special group.
In this screenshot I am showing a small demonstration of how I achieve this result in latest Insight (5.7.2)
So only user John Smith will be able to access this schema since he's the only user in managers, dev, and users Roles and only his group (jira-software-users) is added to the user groups role. I have added my admin user (jira) to the schema managers to be able to login and edit the schema if I want to.
Now When I login with this user I can only see the allowed Schema FLY
With my admin user I can see more schemas
Please plot the Roles on this base and it should deliver the result you are looking for.
Cheers!
Nader
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.