Post-functions will fail to set Security level if there are duplicated level names

XMLWordPrintable

    • 3
    • Minor
    • 1

      Issue Summary

      Post-functions will fail to set Security level if there are duplicated level names, even if the levels are in different schemas and not related to the affected project.

      Steps to Reproduce

      1.  Create 2 issue security schemas where at least one level has the exact same name in both schemas.
      2.  Link any of them to a project
      3.  Create a post-function that copies and sets the value from a list field with the same name as the levels in the scheme.
      4.  Run the transition.

      Expected Results

      The security level should be set as the same value in the list field.

      Actual Results

      The security level is not set.

      The below exception is thrown in the internal logs:

      Unable to copy value from field 'Solver group' to 'Security Level'
      

      Workaround

      Rename the duplicated level in one of the issue security schemes.

            Assignee:
            Unassigned
            Reporter:
            Jeymson Mattos
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: