Document toolboxDocument toolbox

To learn more about Tempo products, please visit our Help Center. For support, see our Support Portal.

Generic Resource private API's on Data Center

This article is for Data Center.

On Data Center, Generic Resources are not included in the Tempo Reports, nor in the exports. The only way to get those data is using private API’s, which you can install Atlassian REST API Browser to search for any public and private endpoints on your Jira instance. It’s recommended to use private API only to retrieve data.

For example, if you search for the keyword “generic-resource” and make sure to uncheck “Show only public APIs” option in Atlassian REST API Browser, you will see a list of available private endpoints.

Generic Resource
  1. To POST search all Generic Resources in Tempo:

http://localhost:8080/rest/tempo-teams/3/generic-resource/search

with payload:

{ "query" : "" }

Sample Results:

[ { "id": 3, "name": "Accountant", "createdBy": "swu", "createdAt": "2022-03-17 13:42:18.830", "updatedBy": "swu", "updatedAt": "2022-03-17 13:42:18.830" }, { "id": 2, "name": "Back End Developer", "createdBy": "swu", "createdAt": "2022-03-17 13:41:58.153", "updatedBy": "swu", "updatedAt": "2022-03-17 13:41:58.153" }, { "id": 4, "name": "Customer Service Manager", "createdBy": "swu", "createdAt": "2022-03-17 13:42:28.843", "updatedBy": "swu", "updatedAt": "2022-03-17 13:42:28.843" }, { "id": 1, "name": "Front End Developer", "createdBy": "swu", "createdAt": "2022-03-17 13:41:48.757", "updatedBy": "swu", "updatedAt": "2022-03-17 13:41:48.757" }, { "id": 5, "name": "Web Designer", "createdBy": "swu", "createdAt": "2022-03-17 13:43:03.760", "updatedBy": "swu", "updatedAt": "2022-03-17 13:43:03.760" } ]

 

2. To GET Generic Resources of a specific Team:

Sample Results:

 

3. To GET Generic Resources’ plans of a specific date range (refer to API doc for available parameters):

Sample Results: