Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

jira_add_comment.py - Post comments to Jira issues

Description

Posts a comment to a Jira issue using the Jira API. Supports Jira wiki markup formatting in comments. Designed to run in automated pipelines and fails gracefully if credentials are not available.

Usage

python3 tools/jira_add_comment.py <issue-key> <comment>

Arguments

Example

python3 tools/jira_add_comment.py AEAREP-8885 "Pipeline completed successfully"

# With Jira markup
python3 tools/jira_add_comment.py aearep-1234 "*Pipeline Status:* ✅ Complete"

Requirements

Environment Variables Required

Behavior

This design allows the script to be used in pipelines where Jira access may not always be available without causing pipeline failures.

See Also