addWatcher = invokeurl
[
url :"https://atlassian.net/rest/api/3/issue/issueId/watchers"
type :POST
parameters:"accountId"
headers:headers
];
I pass in the variables and include my org url, when I run the code with an account id nothing happens, how is that accountId supposed to be passed in? Can someone share the exact code of the body.
You pass the user by account ID as you are trying to do.
The examples aren't great but they are expecting the account ID as the string in "<string>"
The account ID of the user. Note that username cannot be used due to privacy changes.
string
This is what it says to pass in, does not specify the variable so I want to confirm if I am passing it in correctly in my code. Like this parameters:"accountId" or if I need to pass it in as an object like "accountId": { "id": "5b109f2e9729b51b54dc274d" }?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.