Skip to content

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

Package listing

@kody/jira

src/add-comment.js

11 lines · 394 B · JavaScript
import { addComment } from './jira.js'

/**
 * Add a comment to a Jira issue. Requires `dryRun: true` or `confirm: true`.
 * @example
 * import addComment from 'kody:@kody/jira/add-comment'
 * const preview = await addComment({ issueIdOrKey: 'PROJ-123', body: 'Looks good.', dryRun: true })
 */
export default async function addCommentEntrypoint(input = {}) {
	return await addComment(input)
}