You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I want to find out the projects which are inactive in my instance from last 6 months.
Hi Neeranjan,
There have been several similar post which you can refer to and here's one of them: Need a query to find out active and inactive Jira project over the last 6 months.
You can use the following queries:
1. SELECT count(id) FROM project WHERE ID NOT IN (SELECT DISTINCT(project) FROM jiraissue WHERE updated > DATE_SUB(NOW(), INTERVAL 6 MONTH) and created > DATE_SUB(NOW(), INTERVAL 6 MONTH));
2. SELECT count(id) FROM project WHERE ID NOT IN (SELECT DISTINCT(project) FROM jiraissue WHERE updated > DATE_SUB(NOW(), INTERVAL 6 MONTH) or created > DATE_SUB(NOW(), INTERVAL 6 MONTH));
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries neeranjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SELECT count(id) FROM project WHERE ID NOT IN (SELECT DISTINCT(project) FROM jiraissue WHERE updated > DATE_SUB(NOW(), INTERVAL 6 MONTH) or created > DATE_SUB(NOW(), INTERVAL 6 MONTH))))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @niranjan,
Upgrade to Jira v7.11.1 and above. They have added a feature that lets you see more project information in the admin section.
Jira Software 7.11.x release notes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not that i have been able to locate. You would think they would make this available as we have limited querying options where as the server version can always query the DB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On Jira Cloud you can see activity by doing the following:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! @Gregory S Williams ! Is there any way for including that same field in the project list obtained when "View All Projects" option is selected? Or this is just visible for admins?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This method is admin use only.
I tried to see if there was a way to use JQL but that returns tickets, not projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try using avance filters:
from data base:
2. SELECT DISTINCT p.pkey,p.LEAD,MAX(i.UPDATED) as "Last Updated"3. FROM jiraissue i4. INNER JOIN project p5. ON p.ID = i.PROJECT6. GROUP BY p.pkey,p.LEADORDER BY MAX(i.UPDATED) ASC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Diego Cañete
For everybody else: I couldn't make Diegos's query work on my postgres version, so I did the following modifications and it works like a charm:
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 ORDER BY MAX(i.UPDATED) ASC;
I hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does Atlassian provide the same information via API as well? instead of going to the DB?
Thanks,
Tushar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the query above could be incomplete in case you have existing project without issue:
please find the corriged one :
SELECT p.pkey, p.LEAD, MAX(i.UPDATED) as "Last Updated"
FROM jiraissue i
FULL JOIN project p ON p.ID = i.PROJECT
GROUP BY p.pkey , p.LEAD ORDER BY MAX(i.UPDATED) DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you all it helped alot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.