You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I am building a custom application targetting 100+ users, which raises JIRA Service Desk tickets on behalf of the logged in user. I am presently using JSD API using the API token of a service account. Such tickets reflect the service account as creator on them. What is the approach to create tickets using API that reflect the logged-in user as the creator rather than having to raise the ticket on behalf of or tag the user as a participant? Is there a defined approach to use individual users' API tokens for creating tickets/ commenting on the tickets?
Hello @Cyril, Hazel ,
Welcome to the Atlassian Community!
If I understand correctly your are building a custom app that interacts with Jira Service Management and you would like to know the best way to authenticate the REST API calls.
If my understanding is correct then you may want to review the "security overview" page of the JSM platform development guide:
Authentication and authorization methods differ depending on whether you are building an Atlassian Connect app or another type of integration.
- If you are building a Connect app, read Security for Connect apps.
- If your Connect app needs to act on behalf of the user, read User impersonation for Connect apps.
- If you are creating a non-Connect app in the developer console, read OAuth 2.0 authorization code grants (3LO).
- If you are writing a simple script or making REST API calls yourself, read Basic auth for REST APIs.
These methods are summarized below.
[...]
Therefore, in your specific case, if you want to build an 3rd party app without using the Connect framework the way to go is to use OAuth 2.0 authorization code grants (3LO).
If my understanding is not correct, please provide more details.
Finally, for the future, please notice that this is not the best place to get help on development related questions. The right resources are listed in https://developer.atlassian.com/resources.
Specifically:
I hope this helps.
Cheers,
Dario
Hello Community! We’re excited to announce that Mindville Insight’s asset and configuration management capabilities will now be integrated into Jira Service Management Premium and Enterprise plan...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.