Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

jira rest api query for project not showing lastIssueUpdateTime, totalIssueCount etc

Prakash May 24, 2021

I am trying to query project information using jira rest api. It lists project information but it is not showing lastIssueUpdateTime, totalIssueCount etc fields. I have admin access in Jira.
It is on-prem installation.

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2021

Those two fields are not Jira project fields, so the REST API cannot return them.

I don't know where you are getting the idea for them from - are you guessing at them or do you have an app which adds them to Jira?

Prakash May 24, 2021

https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-projects/#api-rest-api-2-project-get

I am referring the above api documentation. The sample program given also lists these fields.

 

"simplified": false, "style": "classic", "insight": { "totalIssueCount": 100, "lastIssueUpdateTime": "2021-05-21T07:16:51.536+0000"

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2021

Most of my work with REST apis is with Server, and I did not know those had been added to Cloud.

They have not been implemented in the Server/DC REST API.  You'll need to work them out another way (and read the docs for the Server API rather than Cloud)

Prakash May 25, 2021

I was checking server REST API but it was not detailed like clould.

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/

Can you help with the api reference for Server REST API?

 

Since lastIssueUpdateTime is available in on-prem server UI, I thought it will be available in REST API also.

Prakash May 25, 2021

Thanks Nic. I found the latest api reference document at the below URL.

https://docs.atlassian.com/software/jira/docs/api/REST/8.1.0/

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events