All URIs are relative to https://your-domain.atlassian.com
Method | HTTP request | Description |
---|---|---|
getIssueNavigatorDefaultColumns | GET /rest/api/3/settings/columns | Get issue navigator default columns |
setIssueNavigatorDefaultColumns | PUT /rest/api/3/settings/columns | Set issue navigator default columns |
List<ColumnItem> getIssueNavigatorDefaultColumns()
Get issue navigator default columns
Returns the default issue navigator columns. Permissions required: Administer Jira global permission.
// 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.IssueNavigatorSettingsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueNavigatorSettingsApi apiInstance = new IssueNavigatorSettingsApi();
try {
List<ColumnItem> result = apiInstance.getIssueNavigatorDefaultColumns();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueNavigatorSettingsApi#getIssueNavigatorDefaultColumns");
e.printStackTrace();
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Object setIssueNavigatorDefaultColumns(body)
Set issue navigator default columns
Sets the default issue navigator columns. The `columns` parameter accepts a navigable field value and is expressed as HTML form data. To specify multiple columns, pass multiple `columns` parameters. For example, in curl: `curl -X PUT -d columns=summary -d columns=description https://your-domain.atlassian.net/rest/api/3/settings/columns` If no column details are sent, then all default columns are removed. A navigable field is one that can be used as a column on the issue navigator. Find details of navigable issue columns using Get fields. Permissions required: Administer Jira global permission.
// 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.IssueNavigatorSettingsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
IssueNavigatorSettingsApi apiInstance = new IssueNavigatorSettingsApi();
List<String> body = Arrays.asList("body_example"); // List<String> | A navigable field value.
try {
Object result = apiInstance.setIssueNavigatorDefaultColumns(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IssueNavigatorSettingsApi#setIssueNavigatorDefaultColumns");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | List<String> | A navigable field value. | [optional] |
Object
- Content-Type: /, multipart/form-data
- Accept: application/json