Skip to main content

Changesets

Group changes, have them approved, and publish them together at a scheduled time.

A changeset collects changes to products and library tables so that they are published together at its scheduled time. Integrations use changesets for product launches and rate changes that must go live at an agreed moment, and to keep drafting changes separate from approving them. See Scheduled events for how changesets work in Product Manager.

Credentials and the role each operation requires are described in Security and Roles by operation on the Administration API feature page.

Lifecycle​

  1. Create Changeset creates a changeset in DRAFT status. The description is required and must not be empty. The scheduled time is optional at this point.
  2. Add changes with Create Change.
  3. Update Changeset Draft sets the description and scheduled time. The changeset takes the values in the request, so send the scheduled time on every update; a request without one clears it.
  4. Approve Changeset moves a DRAFT changeset to SCHEDULED and records who approved it and when. If the changeset has no scheduled time, the approval time is used, so it is applied at the next run.
  5. At the scheduled time, Product Manager applies every change in the changeset and marks it EXECUTED. If it cannot apply the changeset, it marks it FAILED.

While a changeset is SCHEDULED:

  • Unapprove Changeset returns it to DRAFT and clears the approval.
  • Updating it with Update Changeset Draft, or adding a change to it, also returns it to DRAFT. It must then be approved again.

Delete Changeset marks a DRAFT or SCHEDULED changeset DELETED, which removes it from the draft and scheduled changes. Approve is accepted only for a DRAFT changeset, unapprove only for a SCHEDULED one, and update and delete only for DRAFT or SCHEDULED changesets; other requests are rejected. The links in a changeset response list the actions open to it in its current status: approve and delete for a draft, unapprove and delete for a scheduled changeset.

Every create and action request except Unapprove Changeset carries the userId of the user it is recorded against.

Finding changesets​

Get Changesets lists the changesets in a space, most recently updated first, and filters by status. Get Changeset returns one changeset with its status, scheduled time and approval details.

Product Manager Administration API​

Get Changesets​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...

Create Changeset​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...

Get Changeset​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...

Update Changeset Draft​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...

Approve Changeset​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...

Unapprove Changeset​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...

Delete Changeset​

From the Product Manager Administration API 1.1.1. See the full reference.

Loading...