GithubHelp home page GithubHelp logo

konflux-ci / prioritize Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 12.0 141 KB

Move all child stories of epics of a feature up to higher priority (rank) than the highest story in a project

Python 87.71% Dockerfile 0.79% Shell 11.49%

prioritize's Introduction

JIRA Hygiene scripts

  • automation: This script is intended to run on a JIRA's project, looking for issues that don't meet expected Jira hygiene rules, fixing and/or commenting on any discovered issue. The function expects a configuration file, for which you can find a template in config.

Examples of rules that can be applied by automation:

  • Hierarchy:
    • Epic must have a parent issue. The issue can be of any type.
    • Stories must have a parent Epic.
  • Priority
    • An issue priority must match the highest priority of:
      • its parent
      • any of the issues blocked by this issue.
  • Ranking
    • When 2 child issues belong to the same project, and their parent issues also belong to the same project, the child issues ranking must reflect the ranking of the parent issues.

Development Environment

VSCode

The Remote Development extension can be used to open the project in a container.

Everything should be setup for the project, including the debugger.

Manually Starting a Container

A container is used to provide the base environment to develop and run the utility.

  • Start a container with ./tools/developer/hack/start_container.sh.
  • The container will automatically be removed upon exit.

Runtime Environment

A container is used to provide the base environment to run the utility.

  • Run ./tools/release/hack/run.sh -- --config-file config/myproject.yaml --token '\$(cat ~/.config/tokens/jira.txt)'.

Usage notes

The expecation is that a team would set up some automation to run this periodically (like in GitLab), and could set up and provide a token for a JIRA bot.

prioritize's People

Contributors

ralphbean avatar roming22 avatar 14rcole avatar lkolacek avatar ryandeussing avatar hugares avatar johnmcollier avatar amisstea avatar davidmogar avatar rohitkrai03 avatar skabashnyuk avatar simonbaird avatar mattreid avatar

Stargazers

 avatar

Watchers

 avatar Eyal Edri avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.