new DashboardClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/dashboard'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
getAllDashboards(optsopt, callbackopt) → {Promise}
Get a list of all dashboards, optionally filtering them.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
<optional> |
The request options to send to the Jira API Properties
|
|||||||||||||||||
callback |
<optional> |
Called when the dashboards have been retrieved. |
- Source:
Returns:
Resolved when the dashboards have been retrieved.
- Type
- Promise
getDashboard(opts, callbackopt) → {Promise}
Get a single dashboard.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
opts |
The request options sent to the Jira API. Properties
|
||||||||
callback |
<optional> |
Called when the dashboard has been retrieved |
- Source:
Returns:
Resolved when the dashboard has been retrieved
- Type
- Promise