Forums

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

Identifying Active Projects

Emerico Vespucci
Contributor
April 3, 2023

Hello. We are looking to identify all 'active' projects in our Jira Server instance, v8.20.17.  We are defining 'active' as a project, which has had content created in the last 'X' amount of days.

Our team was considering the use of REST API or JQL or a combination of both. 

I saw the possible use of a database query as well:

Example below. 

 

select 
pname,pkey,created as project_createtd,updated as project_updatetd
from
project
where updated <= '2019-10-01T02:15:00.102738Z'

 

Thank you

 

2 answers

1 accepted

1 vote
Answer accepted
Emerico Vespucci
Contributor
April 3, 2023

Here's how its done

 

SELECT DISTINCT i.PROJECT, MAX(i.UPDATED) as Last_Updated, p.pname, p.lead FROM jiraissue i  INNER JOIN project p ON p.ID = i.PROJECT  GROUP BY i.PROJECT, p.pname, p.lead having MAX(i.UPDATED) > '2023-01-01' ORDER BY MAX(i.UPDATED) desc, i.PROJECT, p.pname;

1 vote
Dave Mathijs
Community Champion
April 3, 2023

Hi @Emerico Vespucci 

The Projects section in Administration lists all project where you can sort by Last issue update. Isn't this easier to identify active or non-active projects?

Emerico Vespucci
Contributor
April 3, 2023

Correct.  But I don't see an option to extract to create a list.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events