@kody/jira
src/add-comment.js
11 lines · 394 B · JavaScriptimport { 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)
}