Get "All" tab from Issue with Java

georgiossalon November 29, 2018

I want to retrieve the log from an Issue from the "All" tab.

 

I know it is possible to do that by combining the "Comments" and "History" tab by using:

Issue issueHistory =  restClient.getIssueClient().getIssue(issue.getKey(),Arrays.asList(IssueRestClient.Expandos.CHANGELOG)).claim();

 and then for Comments:

issueHistory.getComments().iterator();

and for History:

issueHistory.getChangelog().iterator();

 

Is this possible though to get both once and ordered by date?

1 answer

1 accepted

0 votes
Answer accepted
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.
November 29, 2018

No, as they're totally different feeds of information!

georgiossalon November 30, 2018

Thanks for the Info! I'll just merge them in java.

Suggest an answer

Log in or Sign up to answer