Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to change app user name on API comment ?

Arthur Janssens
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2023

Hi, I created a Triggers Jira Management Service app and it auto-publish comment on different action on the issue.

It work but the "user" name on comment isn't great. How to modify this ?

Capture d’écran 2023-11-16 à 16.46.53.png

Thank you.

1 answer

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 16, 2023

@Arthur Janssens -

Welcome to the community.  For the comment (user) in question (I assume you are still using your custom APIs codes that generated the comment) - Which account it is using when you are running your codes.

Typically, the authentication user in the APIs custom program will always be the comment author.  Unless "xxxntest-jira-triggers_app" is a third party API integration that you are using.  If so, then you should contact the vendor for technical support on their API app.

It is my understanding APIs for comments will not allow one to impersonate another user when adding the comment against the issues.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Arthur Janssens
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2023

Thanks for your fast response ! I use my personal Token API on my Forge app but I use ForgeAPI.asApp() to post the comment.

Capture d’écran 2023-11-16 à 17.11.15.png

Yogesh Thorat
Banned
July 3, 2024

IMG_20240627_183641_948.jpg

Suggest an answer

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

Atlassian Community Events