Function: getConfiguration()
ts
function getConfiguration(client, options?): Promise<{
[key: string]: unknown;
attachmentsEnabled?: boolean;
issueLinkingEnabled?: boolean;
subTasksEnabled?: boolean;
timeTrackingConfiguration?: {
[key: string]: unknown;
defaultUnit?: "day" | "hour" | "minute" | "week" | string & object;
timeFormat?: "days" | "hours" | string & object | "pretty";
workingDaysPerWeek?: number;
workingHoursPerDay?: number;
};
timeTrackingEnabled?: boolean;
unassignedIssuesAllowed?: boolean;
votingEnabled?: boolean;
watchingEnabled?: boolean;
}>;Defined in: src/server/api/configuration.ts:8
Returns the information if the optional features in Jira are enabled or disabled. If the time tracking is enabled, it also returns the detailed information about time tracking configuration.
Parameters
| Parameter | Type |
|---|---|
client | Client |
options? | RequestOptions |
Returns
Promise<{ [key: string]: unknown; attachmentsEnabled?: boolean; issueLinkingEnabled?: boolean; subTasksEnabled?: boolean; timeTrackingConfiguration?: { [key: string]: unknown; defaultUnit?: "day" | "hour" | "minute" | "week" | string & object; timeFormat?: "days" | "hours" | string & object | "pretty"; workingDaysPerWeek?: number; workingHoursPerDay?: number; }; timeTrackingEnabled?: boolean; unassignedIssuesAllowed?: boolean; votingEnabled?: boolean; watchingEnabled?: boolean; }>