Unable to generate Timesheet reports for Deactivated Users when using Reports and Timesheets for Jira app

Unable to generate Timesheet reports for Deactivated Users when using Reports and Timesheets for Jira app

Users cannot generate timesheet reports for deactivated accounts when using the Reports and Timesheets for Jira app. Attempting to retrieve these reports fails, and the only current workaround is to temporarily re-enable the user’s account, which poses a security risk and operational inconvenience.

Environment: Jira Cloud

Diagnosis

The auto-complete functionality in the Users and Appfire Teams fields retrieves user data from Atlassian APIs, which only return active users. As a result, deactivated users are not available for selection when generating timesheet reports, causing the report to fail.

Root cause

This behavior is due to a limitation in the Atlassian API, which excludes deactivated users from the response payload. Consequently, Appfire apps relying on this API cannot include deactivated users in auto-complete fields or reports.

Workaround

To access timesheet data for deactivated users without reactivating their accounts, you can use the Import Teams functionality as a workaround.

Instructions:

  1. Create a CSV file that defines a team, including the deactivated user(s). You cannot create the team in the UI because auto-complete does not return deactivated users.

  2. Import the team using the CSV: This method successfully adds the deactivated user to a team.

  3. Generate the report using the newly created team. Reports will include the deactivated user's data.

📄 Sample CSV Format:

Team Name,Team Members Team-Deactivated-User,"user@example.com"

Replace user@example.com with the email ID of the deactivated user.

References