new AuditingClient(jiraClient)
Used to access Jira REST endpoints in '/rest/api/2/auditing'
Parameters:
Name | Type | Description |
---|---|---|
jiraClient |
JiraClient |
- Source:
Methods
createAudit(opts, callbackopt) → {Promise}
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
opts |
The request options. Properties
|
||||||||
callback |
<optional> |
Called when the audit is created. |
- Source:
Returns:
Resolved when the audit is created.
- Type
- Promise
getAudits(opts, callbackopt) → {Promise}
Returns auditing records filtered using provided parameters
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
The filtering options for retrieving audits. Properties
|
||||||||||||||||||||||||||
callback |
<optional> |
Called when the audits are retrieved. |
- Source:
Returns:
Resolved when the audits are retrieved.
- Type
- Promise