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

JIRA - create issue screen - FIELDS LOCKED after enabling ScriptRunner

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7
    • Fix Version/s: None
    • Component/s: Workflow Functions
    • Labels:
    • Environment:

      JIRA 6.3.13

    • Critical Points:
      0

      Description

      Hi,
      We are using JIRA 6.3.13 and ScriptRunner 3.0.7.

      BEFORE installing/enabling the ScriptRunner we can create issues in a specific project.
      AFTER enanbling ScriptRunner, some fields are LOCKED when we want to create issues (see screenshot attached).

      The specific workflow behind this project has permissions granted/denied on the first transition after the initial "create":

      ira.permission.edit.projectrole.1 10100
      jira.permission.edit.projectrole.2 10000
      jira.permission.edit.projectrole.3 10200
      jira.permission.assign.projectrole.1 10100
      jira.permission.assign.projectrole.2 10200

      Stangely, the fields on the create Screen are locked from the moment you hit the "Create" button (in order for the Create Screen to popup), so I would expect a that time that no worklow transition permissions are checked / executed ???

      Another strange thing is, that my current user login HAS edit / assign rights (both from the project's permission scheme AND from the worklow permissions).
      When we enable the ScriptRunner pluggin, the fields in the Create Issue screen get locked. After disabling the scriptrunner plugin, everything works like it should, so it seems to me that the ScriptRunner reads the permissions "too early" or something...

      Any ideas ? I have also attached the JIRA logfile.

      Thanks,

      Bart

        Attachments

        1. behaviour_config_log.txt
          18 kB
          Bart Van Belle
        2. Behaviour_Map.jpg
          108 kB
          Bart Van Belle
        3. Behaviours_cannot_configure.jpg
          268 kB
          Bart Van Belle
        4. Behaviours - TVH Jira - Google Chrome.jpg
          85 kB
          Bart Van Belle
        5. JIRA - create issue screen - FIELDS LOCKED after enabling ScriptRunner - Atlassian Answers - Google Chrome.jpg
          62 kB
          Bart Van Belle
        6. Manage_add_ons.jpg
          96 kB
          Bart Van Belle
        7. projectkey.jpg
          94 kB
          Bart Van Belle
        8. SW Factory Worklow Ver 1.1.xml
          64 kB
          Bart Van Belle
        9. workflow step properties.jpg
          130 kB
          Bart Van Belle

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bvanbell Bart Van Belle
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: