Skip to end of banner
Go to start of banner

How to add a line break in a custom field

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Current »

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

Instructions

Perform the steps:

  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. Choose 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.


  • No labels