Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Close a Change Request by REST API

JakubN916150010
Tera Contributor

 

Hi guys,

 

I’m trying to close a Change Request via REST API and I’m struggling with state transition behaviour.

 

I’m using:
PATCH /api/sn_chg_rest/change/{sys_id}

 

Payload:
{
  "close_code": "successful",
  "close_notes": "Closed by API",
  "state": "3"
}

 

The API correctly updates close_code and close_notes, but the state does NOT move to Closed.


Anyone know how to move state to close with API?

Thanks,
Jakub 

0 REPLIES 0