Jira
How can you use Kubiya to open tickets, change status, close a ticket and more
What is Jira
Jira is a proprietary issue-tracking product developed by Atlassian that allows bug tracking and agile project management.
Things you can do using Kubiya
- Create new tickets (atomically or through conversation)
- Check the status of a specific ticket
- Close a ticket (atomically or through conversation)
- Update the stage of a given ticket (atomically or through conversation)
- Assign a ticket (atomically or through conversation)
- Give access to a project
How to Integrate Jira to Kubiya
- 1.Generate an API token in Jira by logging in with admin privileges and navigating to the API token settings.
- 2.Create a secret within Kubiya with your new Jira API token as the value and set the secret name to "JIRA_API_TOKEN".
- 3.Deploy the Jira action store and define the environment variables for the Jira username and instance URL: JIRA_EMAIL and JIRA_SERVER.
- 4.Test the integration by using Kubiya's commands or conversational prompts to interact with Jira.
By following these steps, you can seamlessly manage Jira's issue-tracking and project management features using Kubiya as the bridge.
Action store reference
Reach out to your Kubiya engineer for a complete list of actions.
Sample actions
move_ticket_stage(params: dict)
This function is used to transition a ticket or issue to a different stage or status within a system. It makes an API call to perform the transition and returns the response.
Parameters:
params (dict): A dictionary containing the following keys:
'transitionId' (required): The ID of the desired transition.
'issueId' (required): The ID of the ticket or issue to be transitioned.
get_project_issues(params: dict)
This function retrieves the active issues for a specific project. It makes an API call to search for issues that belong to the specified project and are not in the "Done" status category. It returns a list of dictionaries containing the issue ID and a shortened summary.
Parameters:
params (dict): A dictionary containing the following key:
'projectKey' (required): The key of the project for which to retrieve the issues.
close_ticket(params: dict)
This function is used to transition a ticket or issue to a closed state. It makes an API call to perform the transition and returns the response.
Parameters:
params (dict): A dictionary containing the following keys:
'transitionId' (required): The ID of the transition to be performed for closing the ticket.
'issueId' (required): The ID of the ticket or issue to be closed.
Last modified 4mo ago