Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The output of this code is a String which you could, for example use in:

A Groovy expression, for example to:

  • Set a text field to the concatenation of two other text fields. Eg: The summary of the issue to the concatenation of two custom field values, say Customer Name and Machine details in:
    • one of the Set Field Value post-functionsone of the Transition issue post-functions on the transition screens, if any
    • the Create issue post-function under Set fields of new issue section

      Code Block
      languagejs
      linenumberstrue
      org.codehaus.groovy.runtime.NullObject.metaClass.toString = {return ''}
      issue.get("Customer Name") + "-" + issue.get("Machine details")


  • Include the key and description of the issue in the comment while notifying the customer that their issue has been resolved in one of the:
    • Comment in one of the Comment issue post-functions
    • Subject/HTML body/Text body of Email issue post-function
    • JQL search expression of Link issues current to issue

...