How to get values of fields when issue was created

Timmy March 11, 2014

We have option to get issue current log/history and history log of a issue. But that issue log does'nt contains any information about the fileds values which was assigned at the time of issue creation.

I need any JQL or API which will provide the complete log of a issue including the initial values.

or get the field values of issue when it was created.

Please help to resolve this issue.

2 answers

1 accepted

1 vote
Answer accepted
Henning Tietgens
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.
March 11, 2014

If you have the issue and all ChangeHistoryItem objects of the issue you can "calculate" the values of all fields while the issue was created. It's either the current value if there is no ChangeHistoryItem for that field or it's the first getFroms() value for that field of the timely ordered ChangeHistoryItem objects for that issue.

Timmy March 12, 2014

Hi Henning,

thanks for the suggestion :-)

we are already doing the same approach as you have suggested, but I was wondering if there is any other direct method or any JIRA API available to get the values.

Henning Tietgens
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.
March 12, 2014

Ah, ok. :-)

0 votes
srinivasan radhakrishnan
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.
March 12, 2014

Suggest an answer

Log in or Sign up to answer