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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

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?

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)

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.

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