The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events