---
title: "Worklog interface"
canonical: "https://support.appfire.com/space/JMWE/461472846/Worklog%20interface"
format: markdown
---
> Macro (aura-html)

This document details the methods of the [Worklog](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html) interface you can use on a work log, such as those returned by the [Getters](https://appfire.atlassian.net/wiki/display/JMWE/Accessing+the+fields+of+an+issue) when you [access the Work log](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461964285/Standard+JIRA+fields#StandardJIRAfields-Worklog).

| **Method** | **Return type** | **Returns** |
| --- | --- | --- |
| [getAuthorKey](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getAuthorKey())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | <span style="color: #474747">Key of the user who is the author of the Work log</span> |
| [getAuthorObject](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getAuthorObject())`()` | [ApplicationUser](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461472599) | User who is the <span style="color: #474747">author of the Work log</span> |
| [getComment](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getComment())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | Comment added to the work log |
| [getCreated](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getCreated())`()` | [Date](http://download.oracle.com/javase/6/docs/api/index.html?java/util/Date.html) | Work log creation date |
| [getGroupLevel](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getGroupLevel())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | Group level the work log is applicable to |
| [getId](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getId())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | Id of the work log |
| [getIssue](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getIssue())`()` | [Issue](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461537734) | Issue on which the work log is added |
| [getRoleLevel](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getRoleLevel())`()` | [ProjectRole](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/security/roles/ProjectRole.html) | Project role the work log is applicable to |
| [getRoleLevelId](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getRoleLevelId())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | Project role Id the work log is applicable to |
| [getStartDate](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getStartDate())`()` | [Date](http://download.oracle.com/javase/6/docs/api/index.html?java/util/Date.html) | Work log start date |
| [getTimeSpent](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getTimeSpent())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | Logged time spent |
| [getUpdateAuthorKey](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getUpdateAuthorKey())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | <span style="color: #474747">Key of the user who updated the Work log</span> |
| [getUpdateAuthorObject](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getUpdateAuthorObject())`()` | [ApplicationUser](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/user/ApplicationUser.html) | User who has <span style="color: #474747">updated the Work log</span> |
| [getUpdated](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/worklog/Worklog.html#getUpdated())`()` | [Date](http://download.oracle.com/javase/6/docs/api/index.html?java/util/Date.html) | Work log updated date |