new exports(settingsopt)
jira class constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
settings |
IJiraConfig |
<optional> |
settings used by the connector |
- Source:
Methods
login(username, password, callbackopt)
login a user and get a sessionId
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
username |
string | The user name |
|
password |
string | The user password |
|
callback |
function |
<optional> |
The callback function |
- Source:
logout(username, callbackopt)
logout a user
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
username |
string | the user name |
|
callback |
function |
<optional> |
The callback function |
- Source:
makeRequest(requestOptions, callbackopt)
make a request to the jira host
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
requestOptions |
object | the request options |
|
callback |
function |
<optional> |
The callback function |
- Source: