Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Reports for all completed tasks

Emma Lecce
November 27, 2018

Hi guys,

I use Jira Core and I see how I can export a report on various things once I go into a particular project.

What I would like to be able to do, however, is get a report on ALL completed tasks over a period of time. In other words , I don't want a report just on a particular project but on all projects where work has been done. 

I hope this makes sense? 

Thank you in advance!

2 answers

1 vote
Deleted user
January 25, 2016

The only way I can think of is to delete them via a loop script that calls the JIRA API endpoint for "deleting a version". I have the JIRACLI tool so I can just run the following in a loop

jira --action deleteVersion --project "zjiracli" --version "auto1")

Reference: https://bobswift.atlassian.net/wiki/display/JCLIP/Documentation

Or you can just create your own script to loop through the JIRA API Delete Version endpoint

Reference: https://docs.atlassian.com/jira/REST/latest/#api/2/version-delete

Chris Dunford
Contributor
January 26, 2016

Thanks. We don't have a JiraCLI license (although it sounds useful–I'll agitate to get one). I've been trying to delete versions using the REST API without much success. Here's an example URL:

https://foobar.atlassian.net/rest/api/2/version/12808

where "12808" is the JIRA ID of one of the versions I want to delete. This looks right to me, according to the REST docs. But it returns 404, "NOT FOUND".

Do you see what I'm doing wrong?

One thing that bothers me is that there's no indication of the project ID. Could this be the problem?

Deleted user
January 27, 2016

Can you try doing a "get" first? Also, does your account have the correct permission to delete versions?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events