Log automated work on a Jira transition

There might be a need to automate logging work triggered by an action in Jira. E.g . I need to make sure that there has been logged work on Jira transition. This can easily be achieved with Automation for Jira Cloud. In our example we will leverage the Tempo REST APIs (creating a worklog) in order to do so. In order to consume the Tempo REST API you will need an Access token.

Instructions

Follow the steps

  1. From your Jira project settings navigate to Automations.

  2. Define the trigger that will fire the automation. There are many, many options to do so. In our example we choose a workflow transition.

     

  3. Next we define the action that the automation rule should perform for us. From the list of actions available pick “Send web request”.

  4. Now fill in the required fields similar to the screenshot below. Jira automation offers numerous smart values to be used in the payload of our request.

     

  5. Before you publish the automation you can validate the action to make sure it works properly. You will see a detailed response in case of a failed validation.

 

Some other articles related to automations for Tempo for Jira Cloud