Class: ServerInfoClient

ServerInfoClient(jiraClient)

new ServerInfoClient(jiraClient)

Used to access Jira REST endpoints in '/rest/api/2/serverInfo'

Parameters:
Name Type Description
jiraClient JiraClient
Source:

Methods

getServerInfo(opts, callbackopt) → {Promise}

Returns general information about the current JIRA server.

Parameters:
Name Type Attributes Description
opts

The request options sent to the Jira API.

Properties
Name Type Attributes Description
doHealthCheck boolean <optional>

Whether to perform a health check on the server.

callback <optional>

Called when the server info has been retrieved.

Source:
Returns:

Resolved when the server info has been retrieved.

Type
Promise