@dave3 - once you have that bearer/access token (follow the impersonation docs), you can make REST API calls from your backend app. Scroll down to the section titled Using an access token in a request in the doc page I posted above. All requests sent using that auth token will be made on behalf of the user.
But, our app may want to add a comment that the customer made on our app to jira, and we would want it to come from that same user. How can I do a commentOnBehalfOf for that comment?
Keep in mind, the user may or may not have existed when I created the issue - I pass in an email address to raiseOnBehalfOf, and if the user is not already on service desk, an account will be created for them.
Hello. So, as of today, is there any solution to have customers writing comments in their own request on JSM? We would like to have comments written by customers, not by the admin user.
I’m assuming customers refers to “external” users here. Hence you’ll not have access to their user identity in the JIRA instance to be able to perform any actions as them.
But if the user was to somehow exist in the system unless they were part of the same JIRA instance, there’s no way to post anything as that user. If the user was a part of the same JIRA instance, you could try performing actions as the user via Connect or Forge apps as mentioned in the original answer.