How to add a line break in a custom field

This article explains how to add line breaks in a custom field in the Create on Transition app.

Instructions

Perform the following:

  1. Login as a Jira Administrator and click  > Issues.
  2. If a custom field already exists, skip to step 10. If not, click Add custom field in the top-right corner.
  3. Select Field Type as Text Field (multi-line), and click Next.
  4. Enter Name and Description (optional) in the respective fields, and click Create.
  5. The Screens section is shown. Select the required workflow screen(s), and click Update.
  6. In the Workflows tab, click the Edit link to the required workflow.
  7. Select the transition for which you want to add or edit post function. Select the Post Functions option.
  8. Click Add post function
  9. Navigate to the Custom Fields option and click Add Custom Fields
  10. Select the custom field name and enter the value. Use the '\n' (new line character) for a line break.
  11. Click Add to add the post function.
  12. Publish the workflow.
  13. Run the transition to see the values of the custom field. 
    Before adding the escape character:
    Before adding the escape character

         After applying line break:        

         After adding the escape character

It is recommended to test this function in a non-production environment before deploying it.