docs/versioned_docs/version-2.68.0/marketplace/plugins/jira.md
ToolJet allows you to connect to your Jira instance to perform various operations such as managing issues, users, worklogs, and boards.
<div style={{textAlign: 'center'}}> </div>To connect to a Jira data source in ToolJet, you can either click the +Add new data source button on the query panel or navigate to the Data Sources page in the ToolJet dashboard.
To connect to your Jira instance, the following details are required:
:::tip You can generate a personal access token from your Jira account Manage account > Security > API Tokens section. :::
:::tip Query results can be transformed using transformations. Refer to our transformations documentation for more details: link :::
ToolJet supports the following Jira resources and operations:
This operation retrieves details of a specific Jira issue.
<div style={{textAlign: 'center'}}> </div>Issue Key: 10001
Params/Body:
{
"fields": "summary,description,created",
"expand": "renderedFields,names"
}
This operation creates a new Jira issue.
<div style={{textAlign: 'center'}}> </div>Params/Body:
{
"fields": {
"project": {
"key": "SCRUM"
},
"summary": "A particular bug needs to be fixed.",
"description": "The XYZ feature is not working as expected.",
"issuetype": {
"name": "Bug"
},
"assignee": {
"accountId": "712020:4581444c-054e-41d8-90ed-6d1d849557f7"
},
"labels": [
"bug",
"urgent"
]
}
}
This operation deletes a specific Jira issue.
<div style={{textAlign: 'center'}}> </div>Issue Key: 10001
Delete Subtasks: Yes // Can be Yes or No
This operation assigns a Jira issue to a specific user.
<div style={{textAlign: 'center'}}> </div>Issue Key: 10001
Account id: 712020:4581444c-054e-41d8-90ed-6d1d849557f7
This operation modifies an existing Jira issue.
<div style={{textAlign: 'center'}}> </div>Issue Key: 10007
Params/Body:
{
"fields": {
"summary": "Updated issue summary",
"description": "Updated issue description"
}
}
This operation retrieves details of a specific Jira user.
<div style={{textAlign: 'center'}}> </div>Account id: 5b10a2844c20165700ede21g
Expand: groups,applicationRoles
This operation searches for users based on a query.
<div style={{textAlign: 'center'}}> </div>Query: is assignee of PROJ
Start at: 1
Max results: 10
This operation finds users that can be assigned to issues.
<div style={{textAlign: 'center'}}> </div>:::info Note: Query and Account id are mutually exclusive parameters. You can only use one of them. :::
Query: Mark // Search for users with "Mark" in their name, username, or email
Account id: 5b10a2844c20165700ede21g
Project key: PROJ
Issue key: SCRUM-1
Start at: 1
Max results: 10
Action descriptor id: 12345
Recommended: Yes
This operation retrieves the worklogs for a specific issue.
<div style={{textAlign: 'center'}}> </div>Issue Key: SCRUM-1
Start at: 1
Max results: 10
Started after: 1626228754515
Started before: 1726228754515
This operation adds a new worklog entry to an issue.
<div style={{textAlign: 'center'}}> </div>Issue Key: SCRUM-1
Params/Body:
{
"comment": "I did some work here.",
"created": "2017-03-14T10:35:37.097+0000",
"id": "100028",
"issueId": "SCRUM-1",
"started": "2017-03-14T10:35:37.097+0000",
"timeSpent": "3h 20m"
}
This operation deletes a specific worklog entry from an issue.
<div style={{textAlign: 'center'}}> </div>Issue Key: SCRUM-1
Worklog id: 100010
Params/Body:
{
"notifyUsers": "true",
"adjustEstimate": "auto"
}
This operation retrieves issues from a board's backlog.
<div style={{textAlign: 'center'}}> </div>Board id: 1
Start at: 1
Max results: 10
Expand: changelog
Params/Body:
{
"fields": ["summary", "description", "created"],
}
This operation retrieves all boards visible to the user.
<div style={{textAlign: 'center'}}> </div>Project key: PROJ
Start at: 1
Name: SCRUM
Max results: 10
Expand: projects
This operation retrieves all issues from a specific board.
<div style={{textAlign: 'center'}}> </div>Board id: 1
Start at: 1
Max results: 10
Expand: changelog
Params/Body:
{
"fields": ["summary", "description", "created"],
}