Get "All" tab from Issue with Java

georgiossalon
Contributor
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-
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.
November 29, 2018

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

georgiossalon
Contributor
November 30, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events