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

          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: