How to Fetch Histories from ChangeLog using JAVA?.

Ifteqar Ahmed August 10, 2017

How to Fetch Histories from ChangeLog using JAVA?.

My requirement is to get timestamp of the transition when it occured.

Which package can i use it for this?.

 I am using JRJC 4.0.0 API

Thanks,

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 10, 2017

Use the flag for the history

/jira/rest/api/2/issue/<issue-id>?expand=changelog

Ifteqar Ahmed August 10, 2017

Thanks. I want to do it using Java code with API. Can you guide me how to do it using ComponentAccessor?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 10, 2017

Ah, you said JRJC, so I assumed you were looking for REST calls.

Internally, most of the historical stuff can be got at via the ChangeHistoryManager.  Probably the most obvious call is ChangeHistoryManager.getChangeHistories(issue)

Suggest an answer

Log in or Sign up to answer