Versions Compared

Key

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

This article explains how to separate values from a single line to multi-line add line breaks in a custom field in in the Create on Transition app.

Instructions

Perform the stepsfollowing:

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

           After adding the escape character.applying line break:             

         Image RemovedAfter adding the escape characterImage Added

Info

It is recommended to test

the post-

this function in a non-production environment before

implementing

deploying it

in the production environment

.