Skip to main content

post_comment_from_markdown

Function post_comment_from_markdown 

Source
pub fn post_comment_from_markdown(
    cfg: &JiraConfig,
    issue_key: &str,
    markdown_path: &Path,
    dry_run: bool,
) -> Result<PostedComment>
Expand description

Convert a markdown corpus file with pandoc jira writer, then POST as a comment.

When dry_run is true, returns the wiki body that would be posted without calling Jira (still requires pandoc for a real conversion).