Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-23319

Fire events for things like adding a custom field, field configuration layout changes, etc.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      It would be great if there was an event fired when custom fields are added.

      So much code that I have written is constantly checking the custom field configurations and field layouts despite the fact that these only change at most once every 24 hours or so.

      It would be much cleaner if I could cache these queries that I making all the time of the custom field configuration.

      What prevents me from doing it is that there isn't really a system wide notification of when custom fields or layouts change. I suppose I could hack DefaultCustomFieldManager, but I've grown tired and had my knuckles so bloodied by hacking into things, that instead I write this request.

      Really I think what would be even more grand is if there were a long long list of events that were fired throughout Jira and then thing like caches would subscribe to them like when developing Java GUI's.
      Right now almost all the Jira code base is very process driven.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adc6ee404f6d Jeff Kirby
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: