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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, ok. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Pass your created issue key to the below REST API to get the issue field values,
<h6>https://example.atlassian.net/rest/api/2/issue/{issueIdOrKey}<span< a="">>?fields&expand</h6>refer this link https://docs.atlassian.com/jira/REST/latest/#d2e1724
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.