Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Enable the API endpoint for the snashot snapshot you want to trigger via automation.

  2. Copy and keep the two details provided in the snapshot macro configuration screen:

    1. The web request URL

    2. The API key

  3. Define a Jira Automation rule, and in this rule, incorporate a “Send Web Request” Action. This is the action that will call the snapshot end point. Set these parameters:

    1. In the “Web request URL” - paste the web request URL from snapshot.

    2. HTTP method: set to POST

    3. Web request body: set to EMPTY

    4. Headers:

      1. set a header that has these values:

        1. key: jira-snapshot-api-key

        2. value: set the API key from snapshot

image-20250305-131603.png

Note:

We have seen sometimes that a perfectly valid configuration results in an automation that fails with a response code 411.

To resolve those situations:

  • To the failing “send web request” action, add a header:

    • Key= Content-Length

    • Value=0