How to AUTH customer?

Bohdan Maik July 19, 2024

Hello. I have platform from which my users can start online-chat with operator.
When they do it - i create request in my Jira SD project and then operator can send them messages (webhook is setted for it). But when i want to send reply from customer to operator (create new comment in request by customer) - i can't. Is there way to create comment by customer (author of issue) with jira sd rest api?

1 answer

1 accepted

0 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 19, 2024

Hi @Bohdan Maik and welcome!

Have you try this endpoint?

/rest/servicedeskapi/request/{issueIdOrKey}/comment

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-comment-post

Bohdan Maik July 19, 2024

Hi, yes with basic auth (with api token that i generate as admin). But in that way all coments are from "admin", not from customer email.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 19, 2024

Do you set the "author" as you customer?

Bohdan Maik July 19, 2024

Where? i dont see this field in docs for create commentзображення_2024-07-19_154445344.png

Bohdan Maik July 19, 2024

No, i dont see this field in docs

Bohdan Maik July 19, 2024

Maybe you have example how to author for comment?

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 19, 2024
Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events