feat(workflow): automate Jira summary pipeline with optional Xray/Sonar links and solution version
- add npm workflow to fetch recent Jira issues, summarize them, and create a target Jira ticket - generate HTML report and optional SMTP email output - add Docker runtime and TeamCity runner scripts (sh/ps1) - support optional SOLUTION_VERSION, XRAY_REPORT_URL, SONAR_REPORT_URL - map SOLUTION_VERSION to Jira fixVersions on ticket creation - update README and .env.example with new configuration
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Jira Zugang
|
||||
JIRA_BASE_URL=https://your-domain.atlassian.net
|
||||
JIRA_USER_EMAIL=automation@company.com
|
||||
JIRA_API_TOKEN=your-api-token
|
||||
|
||||
# Quell-Tickets (letzte Tickets aus beliebigem Board/Projekt)
|
||||
JIRA_SOURCE_JQL=project = SRC ORDER BY updated DESC
|
||||
JIRA_SOURCE_MAX_RESULTS=10
|
||||
|
||||
# Ziel-Ticket (anderes Board/Projekt)
|
||||
# Entweder direkt Project Key setzen:
|
||||
JIRA_TARGET_PROJECT_KEY=DEST
|
||||
# Oder alternativ ueber Board-ID aufloesen:
|
||||
# JIRA_TARGET_BOARD_ID=123
|
||||
JIRA_TARGET_ISSUE_TYPE=Task
|
||||
JIRA_TARGET_SUMMARY_PREFIX=Weekly Jira Report
|
||||
JIRA_TARGET_LABELS=automation,teamcity
|
||||
SOLUTION_VERSION=1.2.3
|
||||
XRAY_REPORT_URL=https://xray.example.com/report/123
|
||||
SONAR_REPORT_URL=https://sonar.example.com/dashboard?id=project
|
||||
JIRA_DRY_RUN=false
|
||||
|
||||
# HTML-Ausgabe
|
||||
OUTPUT_HTML_PATH=report-output/report.html
|
||||
|
||||
# SMTP (optional)
|
||||
SMTP_ENABLED=false
|
||||
SMTP_HOST=smtp.example.com
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURE=false
|
||||
SMTP_USER=smtp-user
|
||||
SMTP_PASS=smtp-pass
|
||||
SMTP_FROM=bot@example.com
|
||||
SMTP_TO=pm@example.com,teamlead@example.com
|
||||
SMTP_SUBJECT_PREFIX=Jira Ticket Zusammenfassung
|
||||
Reference in New Issue
Block a user