Hi,
In order to automatically create issues in the Jira project, I've made a js script that works. I am a Jira administrator and use my own token.
However, when a colleague tried to run the same script with his own token, it failed.
Is there a way to use API without being an administrator?
Regards,
Aleksandar
Hi @marc -Collabello--Phase Locked-
There was a typo in our script. Thanks and sorry for this.
It is working now! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @marc -Collabello--Phase Locked-
Thank you for your response. The mentioned user has "Administer Projects" permission for the project he needs API access. There is no other permission that can be added and is related to API usage. Any help, please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no specific API usage permission.
Maybe the problem is related to browser usage of the js script and CORS restrictions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried to run the script with the user's credentials on my machine and it fails. Therefore, it's not related to browser usage of the js script and CORS restrictions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the error you get?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
every user can use the REST API with their own token. However what a user can do is constraint by their permissions. If the user has not enough permissions on a project, REST API calls will fail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.