Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3918

Setting a user picker value via behaviours does not work in JSD portal if the logged in user is a customer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Done
    • 5.6.6
    • 6.3.0
    • Behaviours
    • None
    • 1.6

    Description

      Steps to reproduce:

      • Create a single/multi user picker field
      • Create a behaviour with an initaliser that sets a user in the field

       

      If you browse to the create request screen via the portal as an admin user, you will see the user picker is correctly populated. If you browse as a customer (no permission to login to standard Jira UI) then this will not work.

      Root cause seems to be Behaviours calling the Jira REST API to check if the user exists, customer only users are not permitted to use this REST API and their requests will be redirected back to the portal.

      When in a JSD context, the JSD specific REST endpoints for user search should be used as these permit customer access.

      Attachments

        Activity

          People

            jechlin Jamie Echlin
            rlander Reece Lander
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: