How to check if Tempo work log is being populated in a Jira Align task

Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Jira Align seamlessly integrates with Tempo by capturing the WorkLog Parameter values from Jira stories and tasks.

The Jira Align Connector effectively extracts the time entries logged via the Tempo plugin within a Jira task or story.

This integration allows users to verify that work logs are accurately recorded in Jira tasks and stories, ensuring seamless synchronization between Jira and Jira Align.

If any discrepancies occur in the work log, this setup provides a method for checking if the work log values are properly set to a Jira Story/Task.

Solution

There are two methods to verify if the work logs are correctly configured for a Jira work item:

1.Execute a GET API request directly in your browser using the following URL format:

https://<Your Jira Instance>/rest/api/latest/issue/<Issue key>

The expected outcome is a JSON response that includes the work log details in the specified format:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 "worklog": { "startAt": 0, "maxResults": 20, "total": 3, "worklogs": [ { "self": "https://Instance.atlassian.net/rest/api/2/issue/12884/worklog/10053", "author": { "self": "https://Instance.atlassian.net/rest/api/2/user?accountId=557058%3A295406f3-a1fc-4733-b906-dd15d021bd79", "accountId": "55XX8:2XX3-a1fc-4733-b906-ddXXXXXbd79", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png", "24x24": "https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png", "16x16": "https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png", "32x32": "https://secure.gravatar.com/avatar/182fc208a1a2e6cc41393ab6c9363d9c?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FTT-6.png" }, "displayName": "Tempo Timesheets", "active": true, "timeZone": "America/Chicago", "accountType": "app" },

2. Executing a POST API Call Using an API Application

By utilizing an API application, such as Postman, you can replicate the API call executed by the Jira Connector to gather data on Work Items, including their Worklogs.

To achieve this, send a POST request to the following endpoint:

https://<YourJiraInstance>/rest/api/2/search

Ensure you include the necessary parameters in the request body.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 { "jql": "project = '<Your Project Key>' AND issueKey= <Task/Story Issue Key>", "startAt": 0, "maxResults": 100, "fields": [ "parent", "summary", "status", "assignee", "description", "reporter", "timespent", "timeestimate", "fixVersions", "versions", "project", "subtasks", "timeoriginalestimate", "priority", "created", "lastViewed", "updated", "labels", "issuelinks", "issuetype", "worklog", "resolutiondate", "duedate" ], "expand": null }

In both scenarios, if the API call doesn't return the WorkLog, it indicates that Jira and the Tempo plugin need to be investigated.

Therefore, if the work log doesn't appear in this call, the Jira Align Connector cannot collect these values through API, which means the time-logged values in Jira will not be brought into Jira Align for Stories or Tasks.

Updated on April 14, 2025

Still need help?

The Atlassian Community is here for you.