Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-365

Populating an Insight CF when configuring an A4J Rule's Action does not return Objects for some Users.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.4.0
    • Fields
    • Severity 3 - Minor
    • 0

    Description

      Issue Summary

      As a Project Admin, if you try to configure a Project Automation Rule with an action to Create / Edit Issue, including an Insight CF - the Insight CF will not display any options.

      You may be able to see optional objects if your User has the Jira Admin Global Permission (via Group Membership) - only after you start typing a search string in the Insight CF.
      Insight - any version

      A4J - v.7.3.5

      Steps to Reproduce

      1. Log in as an Insight Admin - (to avoid any possible Insight Role restrictions)
      2. Configure an Insight Object Type with objects.
      3. Configure an Insight CF to populate with this objectType
        (simple CF configuration: Select Schema, and a Filter Scope IQL: objectType = myOT)
      4. Add the CF to your Project's screens
      5. Configure an A4J Project Automation, with an Action to Create / Update an Issue containing an Insight CF - attempt to set a Value for the Insight CF
      • As a Jira Admin - start typing a Search String (Object's Name) - see that a drop down is showing Objects to select from
      • Try to do the same, when logged in as a User who is an Insight Admin, and a Project Admin - but is NOT a Jira Admin

      Expected Results

      Objects are showing in the Dropdown, available to be selected

      Actual Results

      The CF continues to show loading... endlessly.
      The Browser's Log shows many calls with 405 error responses, querying GET instead of a POST for IQL

      ...
      

      Workaround

      either add the User to the Jira Admin Global permission, or, use the "More Options" to in the Automation rule's action configuration - to set up a static Object Key in the JSON payload, so that the action will update the Insight CF accordingly (see details here)

      Attachments

        1. image-2021-10-19-11-58-30-343.png
          126 kB
          Yinon Negev
        2. image-2021-10-19-11-58-53-630.png
          56 kB
          Yinon Negev

        Issue Links

          Activity

            People

              Unassigned Unassigned
              8cdc82c96fd5 Yinon Negev
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: