Hi everyone,
Our Service Desk is configured to allow users to exclusively view (and interact with) their issues or their organization's issues.
A customer asks us to receive an API token in order to read/write issues (clearly keeping the same permissions), the token would serve to make their external system to interact with our service desk.
Is it possible to generate a server-> server token which allows this process?
Do you have any links, resources and/or advice?
Thanks everyone for the answers! :)
Hi Michel,
As I understand you are asking for API Tokens on server instance (if not, you can start from here API Tokens in cloud Jira).
Unfortunately, there is no ability to generate such tokens on Server / Data Center installations.
However, you can give a try to my plugin:
It supports Service Desk and keep the same permissions for users.
Would be happy to hear your feedback on it.
Regards, Roman
Our instance is in the cloud and the need is for the service desk.
Are they supported?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this case tokens management is easier and works out-of-the box.
So just follow this instruction
https://confluence.atlassian.com/cloud/api-tokens-938839638.html
Small introduction into these tokens:
they are just a substitution of a normal password but for API and works only in pair with username.
That means, users, who would like to use them must have an account in id.atlassian.com and have appropriate permissions in your Jira SD.
The pair of username/token respect security settings of the Jira and keep the same permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't work.
Steps:
Any api request returns 401.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So far it sounds good.
Please check if that user actually has an appropriate permission.
Login with login/pass of that user and normal UI login to the Jira and check if he can see (or do) what is needed.
If on this step everything would be good, please provide some code snippet how implemented that connection.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, from the interface of the Service Desk Portal (remember that I speak of Service Desk Customer) the user can see and create new issue.
I don't have snippets I just tried a curl call.
curl -D- -u my_email@domain.com:HERE_THE_TOKEN_FROM_ID_ATLASSIAN -X GET -H "Content-Type: application/json" https://my_domain.atlassian.net/rest/servicedeskapi/request/ISSUE-KEY
The method works if I replace user and token with the one registered in Jira Service Desk (and not only on the Customer Portal)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm... Seems in that Jira simply does not allow these actions for Customer Portal users.
I googled a bit and have no find anything helpful. Sorry
Hope that anybody else here will be able to answer you
Regards, Roman
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.