Michaël Sanchez
Michaël Sanchez

Reputation: 61

How do I query JIRA to find issue attributes at a specified date?

I have to export reports listing some attributes of JIRA issues at a specified date. So my query would be:

project = "XXX" AND fixVersion was "10.14.0.0" ON '2016-12-12 11:00'

And the result set would provide the status (mandatory) and other attributes (such as assignee) at the specified date.

For the moment, the result set provides me with the status at the current date, and not at the specified date.

How can I achieve that?

Any help really appreciated

Upvotes: 1

Views: 1594

Answers (1)

grundic
grundic

Reputation: 4921

It's not possible by default: JIRA always returns current/most recent values of the fields.

Though, there are workarounds:

  1. You can programmatically run JQL query, expanding changelog items. Analyzing each change, you can find out value of interested field for the given date. Here is an example.
  2. If you know some schedule of your reports (e.g. each Monday), you can configure cron job and periodically export issues for later processing.

Here are some related questions in Atlassian community:

Upvotes: 4

Related Questions