Issue notification failed due to copy value post-function for SUMMARY field in Create transition

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Having copy value post-function from a field without any value to Summary field in Create transition will cause Jira mail notification to fail.

      Steps to Reproduce

      1. Edit workflow Create transition.
      2. Add "Copy Value From Other Field" post-function.
      3. Set source to Epic Name and destination to Summary.
      4. Create an issue in the project.

      Expected Results

      Issue created email notification is received without any issue.

      Actual Results

      No email for the issue created.

      Error thrown in Jira log about Summary being NULL

      Response: '400', 'Bad Request', '{"code":400,"message":"Schema 'jira/jira_issue_schema_v2.json' failed validation.","errors":[{"code":"SCHEMA_VALIDATION_FAILED","message":"Schema 'jira/jira_issue_schema_v2.json' failed validation."}],"processingErrors":[{"level":"error","schema":{"loadingURI":"#","pointer":"/definitions/issue/properties/fields/properties/summary"},"instance":{"pointer":"/issue/fields/summary"},"domain":"validation","keyword":"type","message":"instance type (null) does not match any allowed primitive type (allowed: [\"string\"])","found":"null","expected":["string"]},
      

      Workaround

      No workaround.

            Assignee:
            Unassigned
            Reporter:
            Fahd (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: