REST API

Since version 2.0

Who deleted my issues includes a REST API that you can use to recover your deleted issues data.

This API end-points need to be called with an user with Jira admin permissions.

End points

Get deleted issue info

GET rest/wdmi/1.0/deletedissues/find

Retrieves the issue deleted info, ordered by date (newest first).

Options

Parameter

Description

Default values

Parameter

Description

Default values

results

Number of issues retrieved by this request

Default: 1000

page

Used for data pagination

Default: 0

user

Retrieves the issues deleted by this username

Default: none - will retrieve issues deleted by any user.

key

Find deleted issues with this key

Default: none - will retrieve issues deleted with any key.

from

Find deleted issues from this date (format yyyy-MM-dd)

Default: none - will retrieve issues deleted from any date.

to

Find deleted issues up to this date (format yyyy-MM-dd)

Default: none - will retrieve issues deleted up to any date.

Example

/rest/wdmi/1.0/deletedissues/find?full=true&key=EP&from=2020-03-01

will retrieve all issues deleted since 2020 march 1st with a key that contains EP with all (full) data:

Results

202

{ "size": 2, "deleted-issue": [ { "issueType": "10002", "issueKey": "EP-1", "deletionUser": "admin", "summary": "Test", "date": 1590420726061, "csv": "Summary;Issue Type;Security Level;Priority;Due Date;Assignee;Reporter;Environment;Description;Time Tracking;Resolution;Linked Issues;Desarrollo;Custom field (Nombre de épica);Custom field (Clasificación);Custom field (Enlace de épica);Custom field (Estado de épica);Custom field (Color de épica);Custom field (Puntos de Historia);Custom field (Start Date);Custom field (End Date);Custom field (groovyFunction);Custom field (External issue ID);project;project name;project type;issue id;issue key\n\"Test\";\"Tarea\";\"\";\"Medium\";\"\";\"\";\"admin\";\"\";\"\";;\"\";;;\"\";\"0|i0000f:\";\"\";\"\";\"\";\"\";\"\";\"\";\"\";\"\";\"EP\";\"Elemental Particles\";\"software\";10300;\"EP-1\"", "bulkDeleted": false }, { "issueType": "10002", "issueKey": "EP-1", "deletionUser": "admin", "summary": "Test", "date": 1590146564820, "csv": "Summary;Issue Type;Security Level;Priority;Due Date;Assignee;Reporter;Environment;Description;Time Tracking;Resolution;Linked Issues;Desarrollo;Nombre de épica;Clasificación;Enlace de épica;Estado de épica;Color de épica;Puntos de Historia;Start Date;End Date;groovyFunction;project;issue id;issue key\n\"Test\";\"Tarea\";\"\";\"Medium\";\"\";\"\";\"admin\";\"\";\"\";;\"\";;;\"\";\"0|i0000n:\";\"\";\"\";\"\";\"\";\"\";\"\";\"\";\"EP\";10200;\"EP-1\"", "bulkDeleted": false } ] }

Accept formats

You can use the header “Accept” with value “application/json” in order to retrieve the data in JSON format or use “Accept” with value “application/xml” to retrieve the data in XML format.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <deleted-issues> <size>2</size> <deleted-issue> <issueType>10002</issueType> <issueKey>EP-1</issueKey> <deletionUser>admin</deletionUser> <summary>Test</summary> <date>2020-05-25T17:32:06.061+02:00</date> <csv>Summary;Issue Type;Security Level;Priority;Due Date;Assignee;Reporter;Environment;Description;Time Tracking;Resolution;Linked Issues;Desarrollo;Custom field (Nombre de épica);Custom field (Clasificación);Custom field (Enlace de épica);Custom field (Estado de épica);Custom field (Color de épica);Custom field (Puntos de Historia);Custom field (Start Date);Custom field (End Date);Custom field (groovyFunction);Custom field (External issue ID);project;project name;project type;issue id;issue key "Test";"Tarea";"";"Medium";"";"";"admin";"";"";;"";;;"";"0|i0000f:";"";"";"";"";"";"";"";"";"EP";"Elemental Particles";"software";10300;"EP-1"</csv> <bulkDeleted>false</bulkDeleted> </deleted-issue> <deleted-issue> <issueType>10002</issueType> <issueKey>EP-1</issueKey> <deletionUser>admin</deletionUser> <summary>Test</summary> <date>2020-05-22T13:22:44.820+02:00</date> <csv>Summary;Issue Type;Security Level;Priority;Due Date;Assignee;Reporter;Environment;Description;Time Tracking;Resolution;Linked Issues;Desarrollo;Nombre de épica;Clasificación;Enlace de épica;Estado de épica;Color de épica;Puntos de Historia;Start Date;End Date;groovyFunction;project;issue id;issue key "Test";"Tarea";"";"Medium";"";"";"admin";"";"";;"";;;"";"0|i0000n:";"";"";"";"";"";"";"";"EP";10200;"EP-1"</csv> <bulkDeleted>false</bulkDeleted> </deleted-issue> </deleted-issues>