Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field configuration loading #10

Merged
merged 1 commit into from
Sep 20, 2023

Commits on Sep 19, 2023

  1. Add field configuration loading

    Because issue field configuration in JIRA is highly dynamic and customizable,
    Bugjira needs to be able to retrieve field configuration data from an external
    source. This patch adds support for that operation, and also defines a very
    minimal set of field configuration data. The classes in bugjira/field.py will
    be heavily extended.
    
    Once we can make Bugjira aware of the available fields in the associated JIRA
    and Bugzilla backends, we will be able to add support for querying and updating
    those field attributes in BugjiraIssue objects.
    
    The module that loads the field configuration data is designed as a plugin. The
    plugin included in the source code loads json from a local file when the Bugjira
    instance is created. Another approach would be to load field configuration by
    querying a JIRA instance directly, possibly dynamically updating the field info
    periodically or even each time a BugjiraIssue's fields are accessed. These
    alternate field info access approaches could be coded into an external library
    that implements the plugin interface, thus allowing us to decouple the public
    Bugjira code from any user's particular JIRA instance configuration.
    eggmaster committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    c5ccf1d View commit details
    Browse the repository at this point in the history