The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Retrieve updated time of the issues for all projects

Packialakshmi Subramanian
May 14, 2020

Hi,

There are 1000's of projects created in our instance. We would like to retrieve last updated date of each of those projects to make crucial business decisions.

I used below PostgreSQL query to get the data.

SELECT DISTINCT p.pkey,p.LEAD,MAX(i.UPDATED) as "Last Updated"
FROM jiraissue i
INNER JOIN project p
ON p.ID = i.PROJECT
GROUP BY p.pkey,p.LEAD,p.pname
ORDER BY MAX(i.UPDATED) ASC

 

However, I still see discrepancies with certain projects. please advise how should I modify the query to retrieve last action date of these projects. 

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.