The Flink Jira Bot partially enforces the Apache Flink Jira process. Please see Apache Flink Jira Process for all the guidlines and conventions that we try to follow.
./venv/bin/python3 flink_jira_bot.py --help usage: flink_jira_bot.py [-h] [-d] [-c CONFIG] Apache Flink Jira Bot optional arguments: -h, --help show this help message and exit -d, --dry-run no action on Jira, only logging -c CONFIG, --config CONFIG path to config file (default: config.yaml)
There are also make
targets for the important actions:
make run
The dry-run does not make any changes to the Apache Flink Jira, but instead only logs the actions it would do.
make dry-run
Both make run
and make dry-run
look for the password of flink-jira-bot
in an environment variable called JIRA_PASSWORD
.
The configuration of the rules can be found in config.yaml.
Tickets major and above need an assignee, or an update within {stale_<blocker|critical|major>.stale_days}, otherwise the priority will be reduced after a warning period of {stale_<blocker|critical|major>.warning_days} days. An update of a Sub-Task counts as an update to the ticket. Before this happens the assignee/reporter/watchers are notified that the ticket is about to become stale and will be deprioritized. The time periods before warning differ based on the priority:
Assigned tickets without an update for {stale_assigned.stale_days} are unassigned after a warning period of {stale_assigned.warning_days}. Before this happens the assignee is notified that this is about to happen and asked for an update on the status of her contribution.
An unresolved Minor ticket without an update for {stale_minor.stale_days} is closed after a warning period of {stale_minor.warning_days} with a comment that encourages users to watch, comment and simply reopen with a higher priority if the problem insists.
Apache Flink is an open source project of The Apache Software Foundation (ASF).
Flink is a distributed data processing framework with powerful stream and batch processing capabilities. Learn more about Flink at http://flink.apache.org/