is there anyway to programmatically delete projects in jira?

adam trissel December 10, 2012

We are doing a migrating/cleanup on a jira instance before moving it to the cloud. I would like to delete a bunch of projects on the way. the rest api does not seem to have any hooks for doing this. Is there anyway to do this other than hitting the big red button on the user interface?

1 answer

1 vote
twong_atlassian
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.
December 10, 2012

Hi Adam,

You are correct: The REST impl does not allow you delete projects. You could use xmlrpc or you can use the CLI plugin (which is now paid) but does exactly what you want.

Tim

Bob Swift OSS (Bob Swift Atlassian Apps)
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.
December 10, 2012

Suggest an answer

Log in or Sign up to answer