As a jira admin, I want to capture if DVCS WebHooks exists for any given repository/account

XMLWordPrintable

    • 1
    • 3

      Problem Definition

      With the current implementation of DVCS, we do not capture if the WebHooks are created for a given account. Since it's only done during the account/repo addition and only visible in the atlassian-jira.log while keeping com.atlassian.jira.plugins.dvcs in DEBUG.

      At a later point of time, the only way to check if the WebHooks exist is logging into the DVCS source (GitHub, GitLab, BitBucket) and manually check if the webhooks exist.

      If for some reason the webhook were created but someone deleted them later intentionally or by mistake - there's no awareness for Jira admins.

      Suggested Solution

      • Record and persist the result of Webhook creation during addition of a repository/account and show it in the UI as:
        • if both WebHooks were created and exists
        • if either one failed to create or doesn't exist
        • if both webhooks failed to create or doesn't exist any more
      • Additionally, if we capture status of last N deliveries on Jira UI itself - that would be great value add too
      • Also, we'd like to capture this information in the Support Zip

      Workaround

      • A way to tell if the the Webhooks are not created/doesn't exist/not delivering correctly would be if PRs/Branches etc. only show up after an hour instead of showing almost immediately
      • Check the DVCS source directly if the webhooks exist

            Assignee:
            Unassigned
            Reporter:
            Suddha
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: