Ballerina API Documentation

Connectors of org.wso2.ballerina.connectors.jira package

connector ClientConnector (string uri, string username, string password)

Jira client connector

Parameters:

Parameter NameData TypeDescription
uristringURI of the JIRA instance
usernamestringUsername of the user used to log in to JIRA
passwordstringPassword of the user used to log in to JIRA

Actions:

action assignIssueToUser()

Assigns an issue to a user

Parameters:

Parameter NameData TypeDescription
issueIdOrKeystringA String containing the issue id
payloadjsonIt contains the name of the assignee

Return Parameters:

Return VariableData TypeDescription
messageresponse object

action createBulkIssue()

Creates many issues in one bulk operation

Parameters:

Parameter NameData TypeDescription
payloadjsonIt contains the array of objects containing the issue details

Return Parameters:

Return VariableData TypeDescription
messageresponse object

action getIssueInfo()

Get Issue Information

Parameters:

Parameter NameData TypeDescription
issueIdOrKeystringA String containing the issue id
expandstringThe parameters to expand
fieldsstringThe list of fields to return for the issue

Return Parameters:

Return VariableData TypeDescription
messageresponse object

action postComment()

Posting jira issue comment

Parameters:

Parameter NameData TypeDescription
issueIdOrKeystringA String containing the issue id
expandstringThe parameters to expand
payloadjsonIt contains the fields of the issue

Return Parameters:

Return VariableData TypeDescription
messageresponse object

action searchJira()

Search jira using JQL

Parameters:

Parameter NameData TypeDescription
payloadjsonjira query formatted json

Return Parameters:

Return VariableData TypeDescription
messageresponse object


Menu

  • Connectors
    • ClientConnector (string uri, string username, string password)
      • assignIssueToUser(string issueIdOrKey, json payload)
      • createBulkIssue(json payload)
      • getIssueInfo(string issueIdOrKey, string expand, string fields)
      • postComment(string issueIdOrKey, string expand, json payload)
      • searchJira(json payload)

Copyright 2017 Ballerina API Documentation