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

Spinning wheel when trying to create rules from template due to permission issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.2.0
    • 9.1.0
    • Configuration
    • None
    • Severity 3 - Minor

      Issue Summary

      Under specific circumstances, global or project admins may run into "spinning wheel" situation when they are trying to create a rule from templates.

      This issue can occur due to insufficient permission, but ideally, instead of the spinning wheel, we should display error message or not give the possibility for project admins to create rules from template in the first place.

      Steps to Reproduce

      Follow steps from Guide explaining how Automation administration permissions work (section "Getting spinning wheel and "403 Forbidden" error when trying to create rules from template")

      Expected Results

      Creating rules from templates is either not available or we get a message (banner) there is a permission error.

      Actual Results

      User gets "spinning wheel" and rules do not get created:

      In Jira access logs, we see 403 response for the affected request:

      192.168.1.4 707x1971x1 admin [05/Mar/2024:11:47:52 +0100] "POST /jira/rest/cb-automation/latest/samplerules/create- HTTP/1.1" 403 - 2 "http://localhost:8081/jira/secure/AutomationProjectAdminAction!iframe.jspa?projectKey=ZEB&decorator=none" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "jjiqwp"
      

      Workaround

      To avoid spinning wheel, proper permissions need to be in place. Depending on situation, different workarounds can apply - check section "Getting spinning wheel and "403 Forbidden" error when trying to create rules from template" from Guide explaining how Automation administration permissions work

              Unassigned Unassigned
              mfilipan Marko Filipan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: