please help me with syntax for adding watcher. what is the exact syntax for adding watcher?
Hi Prem,
To assist we will need to see your call to the endpoint, hard to check it without this.
The exact call to make is published in Atlassian's REST API documents.
To sanity check this login to the system as the user who the call's API token come from and attempt to do the action of assigning the issue manually. If you can't do it through the UI it's a permission issue and you won't be able to through Restful
hi markus,
i am succesfully able to get watcher info with rest api. i tried to add watcher through ui it succesfully add watcher. but while post watcher not getting what to put in body.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tried with
1.
{ "name":"Prem Marcel"
}
2.
{ "watchers": [ { "displayName": "Prem Marcel" } ]} ,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.