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:
- Login as a Jira Administrator and click > Issues.
- 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.
- If you want to add the new custom field then follow step #3 to step #11. 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.
- Select a Field Type as Text Field (multi-line), and click Next.
- Enter Name and Description (optional) in the respective fields, and click Create.
- It traverses you to the The Screens section is shown. Choose Select the required workflow screen(s), and click Update.
- In the Workflows tab, click on the Edit link to the required workflow.
- Select the transition for which you want to add /or edit post function. Select the Post Functions option.
- Click Add post function.
- Traverse Navigate to the Custom Fields option and click Add Custom Field buttonFields.
- 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.
- Click Add to add the post function.
- Publish the workflow.
- Run the transition to see the values of the custom field.
Before :
After:adding the escape character:
After applying line break:
Info |
---|
It is recommended to test the post-this function in a non-production environment before implementingdeploying it in the production environment. |