new Upgrade()
Upgrade REST resource for executing and querying delayed upgrades.
Properties:
Name | Type | Description |
---|---|---|
connector |
IConnector | the jira connector instance |
- Source:
Methods
getUpgradeResult(options, callbackopt) → {Promise.<any>}
Returns the result of the last upgrade task.
Returns javax.ws.rs.core.Response#seeOther(java.net.URI) if still running.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
Object | An object containing options to pass to the Jira API. Properties
|
|||||||
callback |
<optional> |
if supplied, called with result of api call |
- Source:
Returns:
result of api call
- Type
- Promise.<any>
runUpgradesNow(options, callbackopt) → {Promise.<any>}
Runs any pending delayed upgrade tasks. Need Admin permissions to do this.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
Object | An object containing options to pass to the Jira API. Properties
|
|||||||
callback |
<optional> |
if supplied, called with result of api call |
- Source:
Returns:
result of api call
- Type
- Promise.<any>