I am trying to add a watcher to an issue but I always run into 404. I believe this has worked before.
I am doing it in python but see below the curl command:
curl -i -u user:<APPKEY> -H "Content-Type: application/json -X POST -d '"myusername"' https://hostname/rest/api/3/issue/KEY/watchers
HTTP/1.1 404
Server: AtlassianProxy/1.15.8.1
Vary: Accept-Encoding
Cache-Control: no-cache, no-store, no-transform
Content-Type: application/json;charset=UTF-8
…
I have tried version 2 of the API as well. What is wrong with it? Is it a Jira bug?
Thank you
Renato