new project()
The project class for the Jira Connector
Properties:
Name | Type | Description |
---|---|---|
connector |
IConnector | the jira connector instance |
model |
Model | the model definition |
- Source:
Methods
deleteById(options, callbackopt) → {Promise.<Object>}
Deletes a project
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | The request options passed onto the Jira API. Properties
|
|||||||||
callback |
<optional> |
if supplied, called with Array of matching records |
- Source:
Returns:
the selected Project
- Type
- Promise.<Object>
deleteById(options, callbackopt) → {Promise.<Object>}
Deletes a project
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | The request options passed onto the Jira API. Properties
|
|||||||||
callback |
<optional> |
if supplied, called with Array of matching records |
- Source:
Returns:
the selected Project
- Type
- Promise.<Object>
find(options, callbackopt) → {Promise.<Array>}
Returns all projects which are visible for the currently logged in user. If no user is logged in, it returns the list of projects that are visible when using anonymous access.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | The request options passed onto the Jira API. Properties
|
|||||||||||||||||
callback |
<optional> |
if supplied, called with Array of matching records |
- Source:
Returns:
Array of matching records
- Type
- Promise.<Array>
findById(options, callbackopt) → {Promise.<Object>}
Contains a full representation of a project in JSON format. All project keys associated with the project will only be returned if expand=projectKeys.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | The request options passed onto the Jira API. Properties
|
|||||||||||||||||
callback |
<optional> |
if supplied, called with Array of matching records |
- Source:
Returns:
the selected Project
- Type
- Promise.<Object>