I have an requirement where i have to add watcher to JIRA from Appian .Just wanted to know how to Add the service account as a watcher
Discussion posts and replies are publicly visible
Try this using JIRA rest apis
Appreciate your reply. But if I don't give anything in the request body, Watcher gets added as an *Appian bot* by using the rest API.(which is fine)
The issue I'm now having is that my user exists in both the JIRA and development environments under the same username, Klaus.email@example.com. How can I add that, or another user with the same username who is present in both my JIRA and development environments?what should i pass in request Bodyattached API schema documentation for refrence
Check this link, seems that you need to pass the id of the issue (int he url) and the account id of the user between quotes (in the body)...
Hi david ,
Thanks for reply but Not able to find the account Id ..links mentioned above might have diffrent settings of JIRA .. bcs i tried
I have tried fetching the user details by using rest web API but account id not returned there also
Because the account ID is considered an internal identifier and house of hazards is not intended to be displayed to external applications.
Hace you tried using the rest api in order to get the account id from username
Thank you for your response.After doing some research, I discovered that we are only able to retrieve the account ID when JIRA is on the cloud and not on-premises. Thus, in this instance, I am only able to add logged in user as an Appian bot.
© 2023 Appian. All rights reserved.