linux-system-roles / auto-maintenance

Linux system roles wide automated repo maintenance
MIT License
25 stars 15 forks source link

manage_issues.py with ability create multiple issues and epics #354

Open richm opened 1 week ago

richm commented 1 week ago

This version of manage_issues.py allows creation of multiple issues and epics at the same time, and links the created issues to the created epic. It also allows creation of issues from github issues and PRs, similar to manage-issues.sh. There is still plenty of missing functionality of manage-issues.sh.

richm commented 1 week ago

The jira python api has improved quite a bit since I last tried to use it - I don't think we should use the ansible based api and manage-issues.sh going forward.

The reason I'm using click instead of argparse is that click allows you to use the same subcommand multiple times, but argparse does not - so with click we can do manage_issues.py create_issue --summary '' ... create_issue ... create_issue ...

richm commented 5 days ago

The way the --base-issue flag works is this - let's say there is already an opened issue for a bug or a feature - you want to create the tracking tasks for that - you don't need to create or update that issue, but you want to use the summary, labels, and github links from that issue for the tracking tasks, and for the epic