Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I want to have a look for projects that aren't used quite often. Is there a SQL that can search for projects where last update on an issue was more then 6 months ago. (not with specific time range)
Hi Maarten,
You can use the below SQL to find out the projects which were inactive i.e not used for past months
select * from project where key not in (select distinct(pkey) from jiraissue where updated > "insert your date here")
Yes I found that one... but there isn't one that has somenting like
select * project where key not in(select(pkey) from jiraisue where updated is less then 6 months ago.
so have dynamic range...
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.
@PADMA KOTHAKOTA Can you please provide the correct syntax for the SQL command. Also, is the db schema the same regardless of which database we are usinng? For example, Postgres vs mySql
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.