/** * Jira Software Node - Version 1 * Discriminator: resource=issue, operation=get */ interface Credentials { jiraSoftwareCloudApi: CredentialReference; jiraSoftwareServerApi: CredentialReference; jiraSoftwareServerPatApi: CredentialReference; } /** Creates an issue or, where the option to create subtasks is enabled in Jira, a subtask */ export type JiraV1IssueGetParams = { resource: 'issue'; operation: 'get'; jiraVersion?: 'cloud' | 'server' | 'serverPat' | Expression; /** * Issue Key */ issueKey?: string | Expression | PlaceholderValue; /** * Whether to return a simplified version of the response instead of the raw data * @default false */ simplifyOutput?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** <p>Use expand to include additional information about the issues in the response. This parameter accepts a comma-separated list. Expand options include: <ul> <li><code>renderedFields</code> Returns field values rendered in HTML format.</li> <li><code>names</code> Returns the display name of each field.</li> <li><code>schema</code> Returns the schema describing a field type.</li> <li><code>transitions</code> Returns all possible transitions for the issue.</li> <li><code>editmeta</code> Returns information about how each field can be edited.</li> <li><code>changelog</code> Returns a list of recent updates to an issue, sorted by date, starting from the most recent.</li> <li><code>versionedRepresentations</code> Returns a JSON array for each version of a field's value, with the highest number representing the most recent version. Note: When included in the request, the fields parameter is ignored.</li> </ul> */ expand?: string | Expression | PlaceholderValue; /** A list of fields to return for the issue. This parameter accepts a comma-separated list. Use it to retrieve a subset of fields. Allowed values: <code>*all</code> Returns all fields. <code>*navigable</code> Returns navigable fields. Any issue field, prefixed with a minus to exclude. */ fields?: string | Expression | PlaceholderValue; /** Whether fields in fields are referenced by keys rather than IDs. This parameter is useful where fields have been added by a connect app and a field's key may differ from its ID. * @default false */ fieldsByKey?: boolean | Expression; /** A list of issue properties to return for the issue. This parameter accepts a comma-separated list. Allowed values: <code>*all</code> Returns all issue properties. Any issue property key, prefixed with a minus to exclude. Examples: <code>*all</code> Returns all properties. <code>*all</code>,-prop1 Returns all properties except prop1. <code>prop1,prop2</code> Returns prop1 and prop2 properties. This parameter may be specified multiple times. For example, properties=prop1,prop2& properties=prop3. */ properties?: string | Expression | PlaceholderValue; /** Whether the project in which the issue is created is added to the user's Recently viewed project list, as shown under Projects in Jira. This also populates the JQL issues search lastViewed field. * @default false */ updateHistory?: boolean | Expression; }; }; export type JiraV1IssueGetOutput = { expand?: string; fields?: { aggregateprogress?: { progress?: number; total?: number; }; assignee?: { accountId?: string; accountType?: string; active?: boolean; avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; displayName?: string; emailAddress?: string; self?: string; timeZone?: string; }; attachment?: Array<{ author?: { accountId?: string; accountType?: string; active?: boolean; avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; displayName?: string; emailAddress?: string; self?: string; timeZone?: string; }; content?: string; created?: string; filename?: string; id?: string; mimeType?: string; self?: string; size?: number; thumbnail?: string; }>; comment?: { comments?: Array<{ author?: { accountId?: string; accountType?: string; active?: boolean; avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; displayName?: string; emailAddress?: string; self?: string; timeZone?: string; }; body?: string; created?: string; id?: string; jsdPublic?: boolean; self?: string; updateAuthor?: { accountId?: string; accountType?: string; active?: boolean; avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; displayName?: string; emailAddress?: string; self?: string; timeZone?: string; }; updated?: string; }>; maxResults?: number; self?: string; startAt?: number; total?: number; }; created?: string; creator?: { accountId?: string; accountType?: string; active?: boolean; avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; displayName?: string; emailAddress?: string; self?: string; timeZone?: string; }; customfield_10001?: null; customfield_10019?: string; environment?: null; issuelinks?: Array<{ id?: string; inwardIssue?: { fields?: { issuetype?: { avatarId?: number; description?: string; entityId?: string; hierarchyLevel?: number; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; priority?: { iconUrl?: string; id?: string; name?: string; self?: string; }; status?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: string; id?: number; key?: string; name?: string; self?: string; }; }; summary?: string; }; id?: string; key?: string; self?: string; }; outwardIssue?: { fields?: { issuetype?: { avatarId?: number; description?: string; hierarchyLevel?: number; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; priority?: { iconUrl?: string; id?: string; name?: string; self?: string; }; status?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: string; id?: number; key?: string; name?: string; self?: string; }; }; summary?: string; }; id?: string; key?: string; self?: string; }; self?: string; type?: { id?: string; inward?: string; name?: string; outward?: string; self?: string; }; }>; issuetype?: { avatarId?: number; description?: string; entityId?: string; hierarchyLevel?: number; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; labels?: Array; priority?: { iconUrl?: string; id?: string; name?: string; self?: string; }; progress?: { progress?: number; total?: number; }; project?: { avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; id?: string; key?: string; name?: string; projectTypeKey?: string; self?: string; simplified?: boolean; }; reporter?: { accountId?: string; accountType?: string; active?: boolean; avatarUrls?: { '16x16'?: string; '24x24'?: string; '32x32'?: string; '48x48'?: string; }; displayName?: string; emailAddress?: string; self?: string; timeZone?: string; }; security?: null; status?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: string; id?: number; key?: string; name?: string; self?: string; }; }; statusCategory?: { colorName?: string; id?: number; key?: string; name?: string; self?: string; }; statuscategorychangedate?: string; subtasks?: Array<{ fields?: { issuetype?: { avatarId?: number; description?: string; entityId?: string; hierarchyLevel?: number; iconUrl?: string; id?: string; name?: string; self?: string; subtask?: boolean; }; priority?: { iconUrl?: string; id?: string; name?: string; self?: string; }; status?: { description?: string; iconUrl?: string; id?: string; name?: string; self?: string; statusCategory?: { colorName?: string; id?: number; key?: string; name?: string; self?: string; }; }; summary?: string; }; id?: string; key?: string; self?: string; }>; summary?: string; timeestimate?: null; timeoriginalestimate?: null; timespent?: null; updated?: string; votes?: { hasVoted?: boolean; self?: string; votes?: number; }; watches?: { isWatching?: boolean; self?: string; watchCount?: number; }; worklog?: { maxResults?: number; startAt?: number; total?: number; }; workratio?: number; }; id?: string; key?: string; self?: string; }; export type JiraV1IssueGetNode = { type: 'n8n-nodes-base.jira'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };