getWorklogs always returns empty array

Manan June 17, 2024

Attempting to get the work log of an issues using getWorklogs() but it always return empty array even thou the issues have worklog.  Dumping the toString for issues display the below:

worklogs=[],

is there a special way to get the workLog for a given task.

Issue issueFromJira;

...

Iterable worklogs = issueFromJira.getWorklogs();

System.out.println("getWorklogs Size : " + Iterables.size(worklogs));

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events