The component definition and tasks are defined in the definition.yaml and tasks.yaml files respectively.
Setup
In order to communicate with Atlassian, the following connection details need to be
provided. You may specify them directly in a pipeline recipe as key-value pairs
within the component's setup block, or you can create a Connection from
the Integration Settings
page and reference the whole setup as setup: ${connection.<my-connection-id>}.
Field
Field ID
Type
Note
Token (required)
token
string
Fill in your Jira API token. You can generate one from your Jira account "settings > security > API tokens".
The type of the issue, can be: Task, Epic, Subtask, etc.
Summary
summary
string
The summary of the issue.
Description
description
string
The description of the issue.
The issue-type Object
Issue Type
issue-type must fulfill one of the following schemas:
Epic
Epic.
Field
Field ID
Type
Note
Issue Type
issue-type
string
Must be "Epic"
Task
Task.
Field
Field ID
Type
Note
Issue Type
issue-type
string
Must be "Task"
Subtask
Subtask.
Field
Field ID
Type
Note
Issue Type
issue-type
string
Must be "Subtask"
Parent Key
parent-key
string
The key of the parent issue, e.g. JRA-1330.
Other
Other.
Field
Field ID
Type
Note
Issue Type
custom-issue-type
string
The type of the issue, can be: Task, Epic, Subtask, etc.
Issue Type
issue-type
string
Must be "Other"
Output
Field ID
Type
Description
ID
id
string
The ID of the issue.
Key
key
string
The key of the issue, e.g. JRA-1330.
Self
self
string
The URL of the issue.
Fields
fields
json
The fields of the issue. All navigable and Agile fields are returned.
Issue Type (optional)
issue-type
string
The type of the issue, can be: Task, Epic.
Summary (optional)
summary
string
The summary of the issue.
Description (optional)
description
string
The description of the issue.
Status (optional)
status
string
The status of the issue, can be: To Do, In Progress, Done.
Create Sprint
Create a sprint in Jira.
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_CREATE_SPRINT
Board Name (required)
board-name
string
The name of the board.
Name (required)
name
string
The name of the sprint.
Goal (required)
goal
string
The goal of the sprint.
Start Date (required)
start-date
string
The start date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
End Date (required)
end-date
string
The end date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Output
Field ID
Type
Description
ID
id
integer
The ID of the sprint.
Self
self
string
The URL of the sprint.
State (optional)
state
string
The state of the sprint, can be: active, closed, future.
Name (optional)
name
string
The name of the sprint.
Start Date (optional)
start-date
string
The start date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
End Date (optional)
end-date
string
The end date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Complete Date (optional)
complete-date
string
The complete date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Origin Board ID (optional)
origin-board-id
integer
The ID of the origin board.
Goal (optional)
goal
string
The Goal of the sprint.
Get Issue
Get an issue in Jira. The issue will only be returned if the user has permission to view it. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic.
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_GET_ISSUE
Issue Key (required)
issue-key
string
The key of the issue, e.g. JRA-1330.
Update History
update-history
boolean
Whether the action taken is added to the user's Recent history, as shown under Your Work in Jira.
Output
Field ID
Type
Description
ID
id
string
The ID of the issue.
Key
key
string
The key of the issue, e.g. JRA-1330.
Self
self
string
The URL of the issue.
Fields
fields
json
The fields of the issue. All navigable and Agile fields are returned.
Issue Type (optional)
issue-type
string
The type of the issue, can be: Task, Epic.
Summary (optional)
summary
string
The summary of the issue.
Description (optional)
description
string
The description of the issue.
Status (optional)
status
string
The status of the issue, can be: To Do, In Progress, Done.
Get Sprint
Get a sprint in Jira. The sprint will only be returned if the user can view the board that the sprint was created on, or view at least one of the issues in the sprint.
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_GET_SPRINT
Sprint ID (required)
sprint-id
integer
The ID of the sprint. The sprint will only be returned if you can view the board that the sprint was created on, or view at least one of the issues in the sprint.
Output
Field ID
Type
Description
ID (optional)
id
integer
The ID of the sprint.
Self (optional)
self
string
The URL of the sprint.
State (optional)
state
string
The state of the sprint, can be: active, closed, future.
Name (optional)
name
string
The name of the sprint.
Start Date (optional)
start-date
string
The start date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
End Date (optional)
end-date
string
The end date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Complete Date (optional)
complete-date
string
The complete date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Origin Board ID (optional)
origin-board-id
integer
The ID of the origin board.
Goal (optional)
goal
string
The Goal of the sprint.
List Boards
List all boards in Jira
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_LIST_BOARDS
Project Key or ID
project-key-or-id
string
This filters results to boards that are relevant to a project. Relevance meaning that the JQL filter defined in board contains a reference to a project.
Board Type
board-type
string
The type of board, can be: scrum, kanban, simple. Default is simple. Enum values
scrum
kanban
simple
Name
name
string
Name filters results to boards that match or partially match the specified name. Default is empty.
Start At
start-at
integer
The starting index of the returned boards. Base index: 0. Default is 0.
Max Results
max-results
integer
The maximum number of boards to return. Default is 50.
The starting index of the returned boards. Base index: 0.
Max Results
max-results
integer
The maximum number of boards.
Total
total
integer
The total number of boards.
Output Objects in List Sprints
Sprints
Field
Field ID
Type
Note
Complete Date
complete-date
string
The complete date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
End Date
end-date
string
The end date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Goal
goal
string
The Goal of the sprint.
ID
id
integer
The ID of the sprint.
Name
name
string
The name of the sprint.
Origin Board ID
origin-board-id
integer
The ID of the origin board.
Self
self
string
The URL of the sprint.
Start Date
start-date
string
The start date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
State
state
string
The state of the sprint, can be: active, closed, future.
The fields of the issue. All navigable and Agile fields are returned.
Issue Type (optional)
issue-type
string
The type of the issue, can be: Task, Epic.
Summary (optional)
summary
string
The summary of the issue.
Description (optional)
description
string
The description of the issue.
Status (optional)
status
string
The status of the issue, can be: To Do, In Progress, Done.
Update Sprint
Update a sprint in Jira.
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_UPDATE_SPRINT
Sprint ID (required)
sprint-id
integer
The ID of the sprint.
Name (required)
name
string
The name of the sprint.
Goal
goal
string
The goal of the sprint.
Start Date (required)
start-date
string
The start date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
End Date (required)
end-date
string
The end date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Current State (required)
current-state
string
The current state of the sprint, can be: future, active, closed.
Enter Next State
enter-next-state
boolean
Whether to enter the next state. If true, the sprint will enter the next state, i.e., future -> active -> closed.
Output
Field ID
Type
Description
ID
id
integer
The ID of the sprint.
Self
self
string
The URL of the sprint.
State (optional)
state
string
The state of the sprint, can be: active, closed, future.
Name (optional)
name
string
The name of the sprint.
Start Date (optional)
start-date
string
The start date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
End Date (optional)
end-date
string
The end date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Complete Date (optional)
complete-date
string
The complete date of the sprint, e.g. 2018-03-05 (default 00:00 UTC+0). To adjust your time zone, please provide a more detailed RFC3339 format like 2018-03-05T09:00:00Z0000.
Origin Board ID (optional)
origin-board-id
integer
The ID of the origin board.
Goal (optional)
goal
string
The Goal of the sprint.
Example Recipes
version: v1beta
component:
jira-0:
type: jira
task: TASK_LIST_ISSUES
input:
board-name: ${variable.board-name}
max-results: 50
range:
range: All
start-at: 0
setup:
base-url: ${variable.base-url}
email: ${variable.jira-email}
token: ${secret.jira}
openai-0:
type: openai
task: TASK_TEXT_GENERATION
input:
model: gpt-4o-mini
n: 1
prompt: |-
From this list of issues:
${jira-0.output.issues}
Summarise the next action items and reference the relevant issues.
Category:
[list of relevant issues]
response-format:
type: text
system-message: |-
You are an expert project manager. Classify the issues into one of the following categories: ["feature", "bug", "refactor", "cancelled"]
If anything is a breaking change, make it a top priority.
temperature: 1
top-p: 1
setup:
api-key: ${secret.INSTILL_SECRET}
variable:
base-url:
title: Jira Base URL
description: |+
Your Jira base URL i.e. https://<_YOUR_COMPANY_>.atlassian.net
type: string
board-name:
title: Jira Board Name
description: |+
The name of your Jira board i.e. "KANBAN board".
type: string
jira-email:
title: Jira Email
description: The email you are using for Jira i.e. [email protected]
type: string
output:
output:
title: Output
value: ${openai-0.output.texts}