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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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. 

2 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
Ravi Sagar Community Leader Mar 09, 2020

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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

102 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you