How an I cancel a change request using REST? Is it just a matter of updating the 'state'? If so, what is the 'state' value for cancelled? What other fields do I need to update in order to cancel th change request?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2017 10:21 AM
I am trying to cancel th change requestwith the following fields:
current_time = time.strftime("%Y-%m-%d %H:%M:%S")
userID = raw_input("Enter User ID (LDAP): ")
close_notes = "TEST CHANGE - CANCELLED"
closed_by = userID
payload['state'] = 8
payload['closed_at'] = current_time
payload['close_notes'] = close_notes
payload['closed_by'] = closed_by
When I make a REST PUT call, I get a 200 status back.
However, the only field that appears to be changed is the 'close_notes'
What am I missing?
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 12:13 AM