Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not getting insight object in response body for get project.

mahendar akarapu September 28, 2022

I am calling at GET /rest/api/3/project/{projectIdOrKey} this endpoint. I am not getting insight object in response.  I am also passing expand as insight but still its not working .

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get

 

1 answer

0 votes
Robert Wen_Cprime_
Community Champion
September 28, 2022

Hello @mahendar akarapu ! Welcome to the Atlassian Community!

Insight on Jira Cloud uses a different API.  Details are here: https://developer.atlassian.com/cloud/insight/rest/api-group-icon/

You also need to make sure you read this too, to fill in some attributes you need in creating your API calls

https://developer.atlassian.com/cloud/insight/intro/introduction-and-basics/

Hope this helps.

mahendar akarapu September 28, 2022

Hey @Robert Wen_Cprime_ Thanks for your reply .

I am talking about this insight object :-  

 

"insight": {

   "totalIssueCount": 100,

   "lastIssueUpdateTime": "2022-09-28T06:54:21.229+0000"

}

 

which is mentioned in response .For me i am not getting it in response .

 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-get

Robert Wen_Cprime_
Community Champion
September 29, 2022

Ah.  Sorry for the misunderstanding.

Are you looking at a project that has issues?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events