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
|
||||||||||
callback |
<optional> |
Called when the server info has been retrieved. |
- Source:
Returns:
Resolved when the server info has been retrieved.
- Type
- Promise