Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-718

Jira query validation prevents issue keys hook from working if the invoking user lacks permissions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 5.6.1.1-jira8
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Sprint:
      DevTools 76
    • Critical Points:
      2.3

      Description

      If a user performs a push that is checked by the Require valid Jira issue pre-hook, but their corresponding Jira account (as determined by the applink) lacks browse permissions for at least one of the relevant projects, then Jira will reject the JQL query as invalid without attempting to run it. If validation were disabled, however, then the query would run fine - its result set would simply be restricted in accordance with what the user has permission to see. This seems like the better thing to do, since it ensures that the hook always gets a meaningful (albeit incomplete) answer if Jira can provide one.

        Attachments

          Activity

            People

            Assignee:
            jmarques Jose Marques
            Reporter:
            jchoules Joanna Choules
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: