jira.json•11.7 kB
{
"nodeType": "n8n-nodes-base.jira",
"displayName": "Jira Software",
"description": "Consume Jira Software API",
"version": 1,
"properties": [
{
"name": "issueKey",
"displayName": "Issue Key",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"add"
]
}
}
},
{
"name": "binaryPropertyName",
"displayName": "Input Binary Field",
"type": "string",
"default": "data",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"add"
]
}
}
},
{
"name": "attachmentId",
"displayName": "Attachment ID",
"type": "string",
"default": "",
"description": "The ID of the attachment",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"get"
]
}
}
},
{
"name": "download",
"displayName": "Download",
"type": "boolean",
"default": false,
"required": true,
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"get"
]
}
}
},
{
"name": "binaryProperty",
"displayName": "Put Output File in Field",
"type": "string",
"default": "data",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"get"
],
"download": [
true
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 50,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 100
},
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "add",
"description": "Add attachment to issue",
"options": [
{
"name": "Add",
"value": "add",
"description": "Add attachment to issue"
},
{
"name": "Get",
"value": "get",
"description": "Get an attachment"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many attachments"
},
{
"name": "Remove",
"value": "remove",
"description": "Remove an attachment"
}
],
"displayOptions": {
"show": {
"resource": [
"issueAttachment"
]
}
}
},
{
"name": "jsonParameters",
"displayName": "JSON Parameters",
"type": "boolean",
"default": false,
"displayOptions": {
"show": {
"resource": [
"issueComment"
],
"operation": [
"add"
]
}
}
},
{
"name": "comment",
"displayName": "Comment",
"type": "string",
"default": "",
"description": "Comment's text",
"displayOptions": {
"show": {
"resource": [
"issueComment"
],
"operation": [
"add"
],
"jsonParameters": [
false
]
}
}
},
{
"name": "commentJson",
"displayName": "Document Format (JSON)",
"type": "json",
"default": "",
"description": "The Atlassian Document Format (ADF). Online builder can be found <a href=\"https://developer.atlassian.com/cloud/jira/platform/apis/document/playground/\">here</a>.",
"displayOptions": {
"show": {
"resource": [
"issueComment"
],
"operation": [
"add"
],
"jsonParameters": [
true
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Use expand to include additional information about comments in the response. This parameter accepts Rendered Body, which returns the comment body rendered in HTML.",
"placeholder": "Add option",
"displayOptions": {
"show": {
"resource": [
"issueComment"
],
"operation": [
"add"
]
}
}
},
{
"name": "commentId",
"displayName": "Comment ID",
"type": "string",
"default": "",
"description": "The ID of the comment",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issueComment"
],
"operation": [
"get"
]
}
}
},
{
"name": "project",
"displayName": "Project",
"type": "resourceLocator",
"default": "{ mode: 'list', value: '' }",
"placeholder": "Select a Project...",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"create"
]
}
}
},
{
"name": "issueType",
"displayName": "Issue Type",
"type": "resourceLocator",
"default": "{ mode: 'list', value: '' }",
"placeholder": "Select an Issue Type...",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"create"
]
}
}
},
{
"name": "summary",
"displayName": "Summary",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"create"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"placeholder": "Add Field",
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"create"
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "Value of the field to set",
"placeholder": "Add Field",
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"update"
]
}
}
},
{
"name": "deleteSubtasks",
"displayName": "Delete Subtasks",
"type": "boolean",
"default": false,
"required": true,
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"delete"
]
}
}
},
{
"name": "simplifyOutput",
"displayName": "Simplify",
"type": "boolean",
"default": false,
"description": "Whether to return a simplified version of the response instead of the raw data",
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"get"
]
}
}
},
{
"name": "username",
"displayName": "Username",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"user"
],
"operation": [
"create"
]
}
}
},
{
"name": "emailAddress",
"displayName": "Email Address",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"user"
],
"operation": [
"create"
]
}
}
},
{
"name": "displayName",
"displayName": "Display Name",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"user"
],
"operation": [
"create"
]
}
}
},
{
"name": "accountId",
"displayName": "Account ID",
"type": "string",
"default": "",
"description": "Account ID of the user to delete",
"displayOptions": {
"show": {
"resource": [
"user"
],
"operation": [
"delete"
]
}
}
},
{
"name": "jiraVersion",
"displayName": "Jira Version",
"type": "options",
"default": "cloud",
"options": [
{
"name": "Cloud",
"value": "cloud"
},
{
"name": "Server (Self Hosted)",
"value": "server"
},
{
"name": "Server Pat (Self Hosted)",
"value": "serverPat"
}
]
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "issue",
"description": "Creates an issue or, where the option to create subtasks is enabled in Jira, a subtask",
"options": [
{
"name": "Issue",
"value": "issue",
"description": "Creates an issue or, where the option to create subtasks is enabled in Jira, a subtask"
},
{
"name": "Issue Attachment",
"value": "issueAttachment",
"description": "Add, remove, and get an attachment from an issue"
},
{
"name": "Issue Comment",
"value": "issueComment",
"description": "Get, create, update, and delete a comment from an issue"
},
{
"name": "User",
"value": "user",
"description": "Get, create and delete a user"
}
]
}
],
"credentialsConfig": [
{
"name": "jiraSoftwareCloudApi",
"required": true
},
{
"name": "jiraVersion",
"required": false
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}