I want show first worklog date (base on start date, not create date) in a date field.
this is my code that use worklog list and get first element of list. but this is base on work log created date, not base on worklog start date.
WorklogManager worklogManager = ComponentAccessor.getWorklogManager()
List<Worklog> worklogList = worklogManager.getByIssue(issue)
Worklog firstWorklog = worklogList
this code return start date of first created worklog but I want to show start date of first worklog base on start date. in other words I need a worklog list that sort base on worklog start date but worklogManager.getByIssue(issue) return a worklog list that sort base on worklog create date.
any help for this ?!
This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs