The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Joseph Chung Yin
Community Champion
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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events