Forums

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

I get errors when i try to add or remove watches via API

Samuel Taylor
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!
March 9, 2020

I have tried both

jira.add_watcher(new_issue.id,watcher)

and 

jira.remove_watcher(new_issue.id,watcher)

and on both i get errors which i can't understand why i'm getting the. When adding i get a 404 error with no message, when removing i get Warning:root:Got recoverable error which will try 3 times then bring back 401 error.

1 answer

1 accepted

0 votes
Answer accepted
Samuel Taylor
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!
March 10, 2020

Found the issue, I was passing in the username as the documentation said it needed and it actually requires the account id to work

Suggest an answer

Log in or Sign up to answer