Versions Compared

Key

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

It might be helpful to add issue to Tempo Internal issues when they are created. This can be done with Automation for JIRA, when a specific issue type is used for Internal issues. In the example, this issue type is “Internal Task”.


Instructions

  1. Set up an automation rule under projects->settings->automation.

  2. As the trigger for the automation choose “Issue created”.

  3. Add a new action.condition

  4. Select “Edit Issue” “JQL condition” and in the jql field to set choose the Tempo “Account” field, add: issuetype = “Internal Task”

  5. Then, add a new action

  6. In the Notifications section, select to “Send web request”

  7. Image Added

    As Webhook URL, enter
    YOUR_JIRA/rest/tempo-core/1/issues/{{issue.key}}
    and as headers, add
    Content-type application/json
    Authorization Basic xxxxxx
    (The Authorization is basic. To find the authentication in the correct format, you can use the terminal with a command like:
    echo -n username:password | base64
    or run the REST API in Postman and it will show the value for the authentication)

  8. The HTTP method is PUT and select Custom data in the Webhook body
    The Custom data should be
    {
    “isInternal”:true
    }

  9. Save and publish the automation.

When creating a new issue in the Project which is of type “Internal Task”, the new issue will directly be added as Internal issue in Tempo.