Criar clientes e adicionar em um projeto do servicedesk

José Neto June 8, 2022

Estou testando a criação de um cliente e adição dele em um projeto do service desk, é solicitado um auth, esse Authorization seria especificamente quem ? do projeto ? do cliente ? 

E quando realizamos, ele retorna que o usuario precisa estar logado, tem relação com o Authorization ? ou precisamos fazer algum ajuste em especifico ? 

Screenshot_5.png

Erro que retorna:

Screenshot_6.png

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 10, 2022

Hi,

It looks like you are wanting to be able to create a service management customer using the REST API.  The reference guide for that endpoint is over in POST /rest/servicedeskapi/customer.

In the case where you are being prompted for this kind of Authorization bearer token, would tend to indicate that your application or app would need to follow the steps in https://developer.atlassian.com/cloud/confluence/oauth-2-3lo-apps/ in order to setup the authorization here.  This endpoint is expected to be called by a user account in Jira:  specifically a user account that has permissions to add or invite new customers as well.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events