The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Required scopes for customer to create ticket via REST API with oAuth?

David Neeley (KVHC38)
December 11, 2020

As a customer (not an agent), I want to create service management tickets through my company's chat bot.

The chat bot uses oauth (3LO). My customer login already uses SSO and is associated with my company's service desk.

The documentation for the API states that creating tickets requires the `write:servicedesk-request` scope. However, with or without the scope my login fails with `You don't have an Atlassian User identity site to connect Company Bot Name to`.

What is needed to allow a customer to login to service management via the REST API?

 

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Prince Nyeche - ELFAPP
Atlassian Partner
December 13, 2020

Hi @David Neeley (KVHC38) 

With 3LO you're given authorization grant, JSM customers are not Jira users, so I do not think you can impersonate such users and I don't think login via REST for customer users even exist. So my suggestion is to have your chat bot as an agent create the tickets for each customer and assign the ticket to the customer as reporter.

0 votes
David Neeley (KVHC38)
December 11, 2020

It probably isn't a scope thing. Looks like a customer account in service desk doesn't get registered here.

AtlassianIdProfileProducts.png

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events