Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Maintanence automation

I want to create a maintenance automation in ATL cloud.
I want to archive Team Managed projects were the last issue update is older than X month.
:checked: fetch jira projects
:question: filter: team managed projects
:checked: order by last issue update

This is the rest API call that fix two of three actions above: {{baseUrl}}/rest/api/3/project/search?expand=insight&orderBy=+lastIssueUpdatedTime:question:  Anyone know if it’s possible to filter a rest API call on team managed projects?

Next steps:
:arrow_right: archive fetched projects
:arrow_right: fine-tune the fetch process to only fetch (TM)projects older than X months

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 05, 2023

Hi @Ludvig Hede 

I do not believe there is a way to filter that project REST API call.  One possible work-around is to:

  • iterate over the projects,
  • call Lookup Issues with JQL ordered by updated DESC, and
  • check the latest one (or if there are no issues) to decide if the project may be archived.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events