Connectors of org.wso2.ballerina.connectors.jira package
connector ClientConnector (string uri, string username, string password)
Jira client connector
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
uri | string | URI of the JIRA instance |
username | string | Username of the user used to log in to JIRA |
password | string | Password of the user used to log in to JIRA |
action assignIssueToUser()
Assigns an issue to a user
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
jira | ClientConnector | The Jira Connector instance |
issueIdOrKey | string | A String containing the issue id |
payload | json | It contains the name of the assignee |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response object |
action createBulkIssue()
Creates many issues in one bulk operation
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
jira | ClientConnector | The Jira Connector instance |
payload | json | It contains the array of objects containing the issue details |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response object |
action getIssueInfo()
Get Issue Information
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
jira | ClientConnector | The Jira Connector instance |
issueIdOrKey | string | A String containing the issue id |
expand | string | The parameters to expand |
fields | string | The list of fields to return for the issue |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response object |
action postComment()
Posting jira issue comment
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
jira | ClientConnector | The Jira Connector instance |
issueIdOrKey | string | A String containing the issue id |
expand | string | The parameters to expand |
payload | json | It contains the fields of the issue |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response object |
action searchJira()
Search jira using JQL
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
jira | ClientConnector | The Jira Connector instance |
payload | json | jira query formatted json |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
message | response object |