Driftwatch

APIs / Jira Cloud

Jira Cloud API changes

Breaking changes, deprecations and new fields in the Jira Cloud API, as they ship.

Jira CloudJira Cloud Platform REST API v31 breaking
  • Breakingdirection flip: their tools call this safe

    defaultValue is no longer accepted

    Usually ignored rather than rejected, so the call succeeds and does something subtly different.

    AddIssueTypesToContext.defaultValue · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // defaultValue is now ignored, not rejected
      defaultValue: value,
    });
Jira CloudJira Cloud Platform REST API v33 breaking2 behavioral4 additive
  • Breaking

    contexts is now required

    Partial payloads are rejected.

    CustomFieldContextDefaultValuesUpdate.contexts · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // …
      contexts: /* now required */,
    });
  • Breakingdirection flip: their tools call this safe

    defaultValues is no longer accepted

    Usually ignored rather than rejected, so the call succeeds and does something subtly different.

    CustomFieldContextDefaultValuesUpdate.defaultValues · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // defaultValues is now ignored, not rejected
      defaultValues: value,
    });
  • Breakingdirection flip: their tools call this safe

    contextId is no longer accepted

    Usually ignored rather than rejected, so the call succeeds and does something subtly different.

    IssueTypeDefaultValueUpdate.contextId · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // contextId is now ignored, not rejected
      contextId: value,
    });
  • Behavioral

    413 is now documented on /rest/api/3/issue/{issueIdOrKey}/votes

    An unhandled branch in your error handling.

    POST /rest/api/3/issue/{issueIdOrKey}/votes
  • Behavioral

    400 is now documented on /rest/api/3/field/{fieldId}/context/defaultValues

    An unhandled branch in your error handling.

    GET /rest/api/3/field/{fieldId}/context/defaultValues
  • Additive

    preferFieldAssociatedErrors is now optional

    No action needed.

    POST /rest/api/3/issue · preferFieldAssociatedErrors · 2 call sites
  • Additive

    nullsLast is now optional

    No action needed.

    GET /rest/api/3/project/search · nullsLast
2 new request properties
  • CustomFieldContextDefaultValuesUpdate.contexts
  • IssueTypeDefaultValueUpdate.operation
Jira CloudJira Cloud Platform REST API v31 breaking1 additive
  • Breakingdirection flip: their tools call this safe

    inferredDates can now return "AnySprintDates"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    can now return "AnySprintDates"

    2 places: GetPlanResponse.scheduling.inferredDates, GetSchedulingResponse.inferredDates
    Code that breaks
    switch (response.scheduling.inferredDates) {
      // existing branches …
      // no branch for "AnySprintDates"
      default:
        throw new Error("unexpected inferredDates");
    }
  • Additive

    maxResults is now optional

    No action needed.

    GET /rest/api/3/jql/autocompletedata/suggestions · maxResults
Jira CloudJira Cloud Platform REST API v31 additive
  • Additive

    query is now optional

    No action needed.

    GET /rest/api/3/field/{fieldId}/context/{contextId}/option · query
Jira CloudJira Cloud Platform REST API v31 additive
Jira CloudJira Cloud Platform REST API v34 behavioral2 additive
Jira CloudJira Cloud Platform REST API v37 additive