Forums

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

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-
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.
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-
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.
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
TAGS
AUG Leaders

Atlassian Community Events