Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

When using post-function "copy field", remove or replace the formatting in receiving field

Edited

I have a somewhat complicated script that was written to dynamically display certain attributes of a selected Insight object field in a JBCF: Message Field within a form. This initial part works well, however the content is ephemeral and needs to be pushed into another field to keep it with the submitted ticket.

Using a "copy field" post-function in the workflow, I can capture the content in another textarea field, however it pulls in all the HTML as well as some of the script content ({"messageType":"info","title":"Training Requirements:","body":" <br/>)  used to format the content in the JBCF: Message Field, making it unreadable.

Is there a way to strip the formatting and simply replace it all with some sort of markdown for line breaks that is recognized by the textarea field? Is there a different field I should use? (I tried a Devinity rich text field but got the same result).

Thank you!

1 answer

Figured out that I simply needed to change the "Renderer" setting in the Field Config for the field to mostly clean it up. Still some mess in there, but significantly better.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events