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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,459,883
Community Members
 
Community Events
176
Community Groups

Archive Issues with Script Runner in Jira Software Server

Hello, 

I have one question. Is it possible to archive issues (automatically) with ScriptRunner in Jira Software Server? Maybe with a custom job that archive all issues that are closed a specific period of time ago. If it is possible maybe you can describe how I can do this.

Kind regards. 

3 answers

1 accepted

0 votes
Answer accepted

Hi Pascal,

To clarify Ravi's answer - Scriptrunner will allow you to archive issues, but the pre-requiste is that you're on Jira Data Center. Jira Server does not permit the archiving of issues/projects.

One potential solution on Jira Server is to create an empty project with the appropriate permissions, and then move issues into this project with Scriptrunner. Beware that the issue keys will change as they're in a different project. You can read more on archiving before archiving was a thing here - https://confluence.atlassian.com/jirakb/archiving-a-project-in-jira-server-950287459.html

0 votes

I believe you'd do something like what's in that link, but you'd use the ArchivedIssueService instead of the one for projects to archive individual issues.

0 votes

Hi @Pascal_Stephan 

Yes you can archive by creating a job. Take a look at this document.

Ravi

Hi Ravi,

Thanks for the Info :)

I have gone through the link. My question is "As per the Scriptrunner documentation we can archive the filtered issues as per the scheduled Job but where these archived issues will get saved and how to retrieve if needed in future".

Your response will help us a lot and appreciate it. Thanks!!

Regards

RK

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events