[jira] [Created] (FLINK-22032) Implement Rule 3 First (Simplest Rule)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22032) Implement Rule 3 First (Simplest Rule)

Shang Yuanchun (Jira)
Konstantin Knauf created FLINK-22032:
----------------------------------------

             Summary: Implement Rule 3 First (Simplest Rule)
                 Key: FLINK-22032
                 URL: https://issues.apache.org/jira/browse/FLINK-22032
             Project: Flink
          Issue Type: Sub-task
            Reporter: Konstantin Knauf


The Rule:

A ticket without an update for a long time is closed with a comment that encourages users to watch, comment and simply reopen with a higher priority if the problem
insists or the feature requests (re-)gains traction

when: Priority == Minor & lastUpdated < today() - 180 days
then: add label “stale-minor”, add comment

when: hasLabel(“stale-minor”) & lastUpdate < today() - 7 days
then: close, add comment, add label “auto-closed”

In terms of implementation language, I'd suggest Python. Atlassian provides an official Python Wrapper for the Jira API [1]. The bot should log all of its actions for debugging purposes.

[1] https://atlassian-python-api.readthedocs.io/jira.html#manage-issues





--
This message was sent by Atlassian Jira
(v8.3.4#803005)