Discussion
Setting the value of a custom field
about 3 years ago by Steve Russell
I am trying to update a custom field. I can successfully do it on a request with the following call:
https://kofile.tpondemand.com/api/v1/Requests/" + TPid + token, options) where the TPid is the id, and the options is as follows:
var payload = {
"CustomFields" : [{'Name': "Notes",
'Value': Note}]
};
var options = {
'method': 'POST',
'payload': JSON.stringify(payload),
'contentType' : 'application/json',
};
Notes is the custom field.
I want to be able to make the same update to bugs and userstories. I tried Assignables and UserStories in place of requests and neither will work. I was hoping that Assignables would work for requests, bugs and user stories.
Thanks