Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/jira

src/create-issue.js

11 lines · 424 B · JavaScript
import { createIssue } from './jira.js'

/**
 * Create a Jira issue. Requires `dryRun: true` to preview or `confirm: true` to write.
 * @example
 * import createIssue from 'kody:@kody/jira/create-issue'
 * const preview = await createIssue({ projectKey: 'PROJ', summary: 'Follow up', issueType: 'Task', dryRun: true })
 */
export default async function createIssueEntrypoint(input = {}) {
	return await createIssue(input)
}