All URIs are relative to https://your-domain.atlassian.com
Method | HTTP request | Description |
---|---|---|
addWorklog | POST /rest/api/3/issue/{issueIdOrKey}/worklog | Add worklog |
deleteWorklog | DELETE /rest/api/3/issue/{issueIdOrKey}/worklog/{id} | Delete worklog |
getIdsOfWorklogsDeletedSince | GET /rest/api/3/worklog/deleted | Get IDs of deleted worklogs |
getIdsOfWorklogsModifiedSince | GET /rest/api/3/worklog/updated | Get IDs of updated worklogs |
getIssueWorklog | GET /rest/api/3/issue/{issueIdOrKey}/worklog | Get issue worklogs |
getWorklog | GET /rest/api/3/issue/{issueIdOrKey}/worklog/{id} | Get worklog |
getWorklogsForIds | POST /rest/api/3/worklog/list | Get worklogs |
updateWorklog | PUT /rest/api/3/issue/{issueIdOrKey}/worklog/{id} | Update worklog |
Worklog addWorklog(body, issueIdOrKey, notifyUsers, adjustEstimate, newEstimate, reduceBy, expand, overrideEditableFlag)
Add worklog
Adds a worklog to an issue. Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking. This operation can be accessed anonymously. Permissions required: * Browse projects and Work on issues project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
Map<String, Object> body = new Map(); // Map<String, Object> |
String issueIdOrKey = "issueIdOrKey_example"; // String | The ID or key the issue.
Boolean notifyUsers = true; // Boolean | Whether users watching the issue are notified by email.
String adjustEstimate = "auto"; // String | Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `manual` Reduces the estimate by amount specified in `reduceBy`. * `auto` Reduces the estimate by the value of `timeSpent` in the worklog.
String newEstimate = "newEstimate_example"; // String | The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `new`.
String reduceBy = "reduceBy_example"; // String | The amount to reduce the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m). For example, *2d*. Required when `adjustEstimate` is `manual`.
String expand = ""; // String | Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts `properties`, which returns worklog properties.
Boolean overrideEditableFlag = false; // Boolean | Whether the worklog entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Only connect app users with admin scope permission can use this flag.
try {
Worklog result = apiInstance.addWorklog(body, issueIdOrKey, notifyUsers, adjustEstimate, newEstimate, reduceBy, expand, overrideEditableFlag);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#addWorklog");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Map<String, Object> | ||
issueIdOrKey | String | The ID or key the issue. | |
notifyUsers | Boolean | Whether users watching the issue are notified by email. | [optional] [default to true] |
adjustEstimate | String | Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `manual` Reduces the estimate by amount specified in `reduceBy`. * `auto` Reduces the estimate by the value of `timeSpent` in the worklog. | [optional] [default to auto] [enum: new, leave, manual, auto] |
newEstimate | String | The value to set as the issue's remaining time estimate, as days (\#d), hours (\#h), or minutes (\#m or \#). For example, 2d. Required when `adjustEstimate` is `new`. | [optional] |
reduceBy | String | The amount to reduce the issue's remaining estimate by, as days (\#d), hours (\#h), or minutes (\#m). For example, 2d. Required when `adjustEstimate` is `manual`. | [optional] |
expand | String | Use expand to include additional information about work logs in the response. This parameter accepts `properties`, which returns worklog properties. | [optional] |
overrideEditableFlag | Boolean | Whether the worklog entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Only connect app users with admin scope permission can use this flag. | [optional] [default to false] |
- Content-Type: application/json
- Accept: application/json
deleteWorklog(issueIdOrKey, id, notifyUsers, adjustEstimate, newEstimate, increaseBy, overrideEditableFlag)
Delete worklog
Deletes a worklog from an issue. Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * Delete all worklogs project permission to delete any worklog or Delete own worklogs to delete worklogs created by the user, * If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
String issueIdOrKey = "issueIdOrKey_example"; // String | The ID or key of the issue.
String id = "id_example"; // String | The ID of the worklog.
Boolean notifyUsers = true; // Boolean | Whether users watching the issue are notified by email.
String adjustEstimate = "auto"; // String | Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `manual` Increases the estimate by amount specified in `increaseBy`. * `auto` Reduces the estimate by the value of `timeSpent` in the worklog.
String newEstimate = "newEstimate_example"; // String | The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `new`.
String increaseBy = "increaseBy_example"; // String | The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `manual`.
Boolean overrideEditableFlag = false; // Boolean | Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Only connect app users with admin permissions can use this flag.
try {
apiInstance.deleteWorklog(issueIdOrKey, id, notifyUsers, adjustEstimate, newEstimate, increaseBy, overrideEditableFlag);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#deleteWorklog");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
issueIdOrKey | String | The ID or key of the issue. | |
id | String | The ID of the worklog. | |
notifyUsers | Boolean | Whether users watching the issue are notified by email. | [optional] [default to true] |
adjustEstimate | String | Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `manual` Increases the estimate by amount specified in `increaseBy`. * `auto` Reduces the estimate by the value of `timeSpent` in the worklog. | [optional] [default to auto] [enum: new, leave, manual, auto] |
newEstimate | String | The value to set as the issue's remaining time estimate, as days (\#d), hours (\#h), or minutes (\#m or \#). For example, 2d. Required when `adjustEstimate` is `new`. | [optional] |
increaseBy | String | The amount to increase the issue's remaining estimate by, as days (\#d), hours (\#h), or minutes (\#m or \#). For example, 2d. Required when `adjustEstimate` is `manual`. | [optional] |
overrideEditableFlag | Boolean | Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Only connect app users with admin permissions can use this flag. | [optional] [default to false] |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ChangedWorklogs getIdsOfWorklogsDeletedSince(since)
Get IDs of deleted worklogs
Returns a list of IDs and delete timestamps for worklogs deleted after a date and time. This resource is paginated, with a limit of 1000 worklogs per page. Each page lists worklogs from oldest to youngest. If the number of items in the date range exceeds 1000, `until` indicates the timestamp of the youngest item on the page. Also, `nextPage` provides the URL for the next page of worklogs. The `lastPage` parameter is set to true on the last page of worklogs. This resource does not return worklogs deleted during the minute preceding the request. Permissions required: Permission to access Jira.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
Long since = 0L; // Long | The date and time, as a UNIX timestamp in milliseconds, after which deleted worklogs are returned.
try {
ChangedWorklogs result = apiInstance.getIdsOfWorklogsDeletedSince(since);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#getIdsOfWorklogsDeletedSince");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
since | Long | The date and time, as a UNIX timestamp in milliseconds, after which deleted worklogs are returned. | [optional] [default to 0] |
- Content-Type: Not defined
- Accept: application/json
ChangedWorklogs getIdsOfWorklogsModifiedSince(since, expand)
Get IDs of updated worklogs
Returns a list of IDs and update timestamps for worklogs updated after a date and time. This resource is paginated, with a limit of 1000 worklogs per page. Each page lists worklogs from oldest to youngest. If the number of items in the date range exceeds 1000, `until` indicates the timestamp of the youngest item on the page. Also, `nextPage` provides the URL for the next page of worklogs. The `lastPage` parameter is set to true on the last page of worklogs. This resource does not return worklogs updated during the minute preceding the request. Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true: * the worklog is set as Viewable by All Users. * the user is a member of a project role or group with permission to view the worklog.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
Long since = 0L; // Long | The date and time, as a UNIX timestamp in milliseconds, after which updated worklogs are returned.
String expand = ""; // String | Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog.
try {
ChangedWorklogs result = apiInstance.getIdsOfWorklogsModifiedSince(since, expand);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#getIdsOfWorklogsModifiedSince");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
since | Long | The date and time, as a UNIX timestamp in milliseconds, after which updated worklogs are returned. | [optional] [default to 0] |
expand | String | Use expand to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog. | [optional] |
- Content-Type: Not defined
- Accept: application/json
PageOfWorklogs getIssueWorklog(issueIdOrKey, startAt, maxResults, startedAfter, expand)
Get issue worklogs
Returns worklogs for an issue, starting from the oldest worklog or from the worklog started on or after a date and time. Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking. This operation can be accessed anonymously. Permissions required: Workloads are only returned where the user has: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
String issueIdOrKey = "issueIdOrKey_example"; // String | The ID or key of the issue.
Long startAt = 0L; // Long | The index of the first item to return in a page of results (page offset).
Integer maxResults = 1048576; // Integer | The maximum number of items to return per page.
Long startedAfter = 789L; // Long | The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.
String expand = ""; // String | Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts`properties`, which returns worklog properties.
try {
PageOfWorklogs result = apiInstance.getIssueWorklog(issueIdOrKey, startAt, maxResults, startedAfter, expand);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#getIssueWorklog");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
issueIdOrKey | String | The ID or key of the issue. | |
startAt | Long | The index of the first item to return in a page of results (page offset). | [optional] [default to 0] |
maxResults | Integer | The maximum number of items to return per page. | [optional] [default to 1048576] |
startedAfter | Long | The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned. | [optional] |
expand | String | Use expand to include additional information about worklogs in the response. This parameter accepts`properties`, which returns worklog properties. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Worklog getWorklog(issueIdOrKey, id, expand)
Get worklog
Returns a worklog. Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
String issueIdOrKey = "issueIdOrKey_example"; // String | The ID or key of the issue.
String id = "id_example"; // String | The ID of the worklog.
String expand = ""; // String | Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts `properties`, which returns worklog properties.
try {
Worklog result = apiInstance.getWorklog(issueIdOrKey, id, expand);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#getWorklog");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
issueIdOrKey | String | The ID or key of the issue. | |
id | String | The ID of the worklog. | |
expand | String | Use expand to include additional information about work logs in the response. This parameter accepts `properties`, which returns worklog properties. | [optional] |
- Content-Type: Not defined
- Accept: application/json
List<Worklog> getWorklogsForIds(body, expand)
Get worklogs
Returns worklog details for a list of worklog IDs. The returned list of worklogs is limited to 1000 items. Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true: * the worklog is set as Viewable by All Users. * the user is a member of a project role or group with permission to view the worklog.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
WorklogIdsRequestBean body = new WorklogIdsRequestBean(); // WorklogIdsRequestBean | A JSON object containing a list of worklog IDs.
String expand = ""; // String | Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog.
try {
List<Worklog> result = apiInstance.getWorklogsForIds(body, expand);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#getWorklogsForIds");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | WorklogIdsRequestBean | A JSON object containing a list of worklog IDs. | |
expand | String | Use expand to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog. | [optional] |
- Content-Type: application/json
- Accept: application/json
Worklog updateWorklog(body, issueIdOrKey, id, notifyUsers, adjustEstimate, newEstimate, expand, overrideEditableFlag)
Update worklog
Updates a worklog. Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * Edit all worklogs project permission to update any worklog or Edit own worklogs to update worklogs created by the user. * If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.
// Import classes:
//import com.xminds.jira.rest.client.ApiClient;
//import com.xminds.jira.rest.client.ApiException;
//import com.xminds.jira.rest.client.Configuration;
//import com.xminds.jira.rest.client.auth.*;
//import com.xminds.jira.rest.client.api.IssueWorklogsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueWorklogsApi apiInstance = new IssueWorklogsApi();
Map<String, Object> body = new Map(); // Map<String, Object> |
String issueIdOrKey = "issueIdOrKey_example"; // String | The ID or key the issue.
String id = "id_example"; // String | The ID of the worklog.
Boolean notifyUsers = true; // Boolean | Whether users watching the issue are notified by email.
String adjustEstimate = "auto"; // String | Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `auto` Updates the estimate by the difference between the original and updated value of `timeSpent` or `timeSpentSeconds`.
String newEstimate = "newEstimate_example"; // String | The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `new`.
String expand = ""; // String | Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties`, which returns worklog properties.
Boolean overrideEditableFlag = false; // Boolean | Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Only connect app users with admin permissions can use this flag.
try {
Worklog result = apiInstance.updateWorklog(body, issueIdOrKey, id, notifyUsers, adjustEstimate, newEstimate, expand, overrideEditableFlag);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueWorklogsApi#updateWorklog");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Map<String, Object> | ||
issueIdOrKey | String | The ID or key the issue. | |
id | String | The ID of the worklog. | |
notifyUsers | Boolean | Whether users watching the issue are notified by email. | [optional] [default to true] |
adjustEstimate | String | Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `auto` Updates the estimate by the difference between the original and updated value of `timeSpent` or `timeSpentSeconds`. | [optional] [default to auto] [enum: new, leave, manual, auto] |
newEstimate | String | The value to set as the issue's remaining time estimate, as days (\#d), hours (\#h), or minutes (\#m or \#). For example, 2d. Required when `adjustEstimate` is `new`. | [optional] |
expand | String | Use expand to include additional information about worklogs in the response. This parameter accepts `properties`, which returns worklog properties. | [optional] |
overrideEditableFlag | Boolean | Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Only connect app users with admin permissions can use this flag. | [optional] [default to false] |
- Content-Type: application/json
- Accept: application/json