Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JBCF Message field - change format

Sebastian Steinhoff January 12, 2023

Hey Jira-Community,

I would like to show a preview of information on a transitionscreen. Therefore I'm using a JBCF message field to build the preview, but I'd like to change the format of 2 fields.

The first customfield is a text tield (multi-line), for example:

customfield_30201 = """Wir untersuchen gemeldete Einschränkungen bei der Nutzung folgender Services:
- Ticketsystem
Unser Business Applikation Team arbeitet bereits an einer Lösung zur Entstörung der Allgemein.
"""

Using the JBCF message field

$cfValues.getFromForm("customfield_30201")

it displays the value in a string ignoring the formatting I prepared in the customfield_30201:

Wir untersuchen gemeldete Einschränkungen bei der Nutzung folgender Services: - Ticketsystem Unser Business Applikation Team arbeitet bereits an einer Lösung zur Entstörung der Allgemein.

 

How is it possible to get the value with my previous formatting?

2 answers

1 accepted

0 votes
Answer accepted
Sebastian Steinhoff March 14, 2023

I wrote to the JBCF-Support and they added another option for formatting.

More information here https://jibrok.com/docs/message-field/dynamic-templates-examples/

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2023

Welcome to the Atlassian Community!

I have to apologise for this question, I would love that I do not have to ask, but I am completely stuck.  What is JBCF?

Sebastian Steinhoff January 16, 2023

Hi Nic, 

no apology needed, we use the Message Field  plugin https://marketplace.atlassian.com/apps/1219615/message-field?tab=overview&hosting=datacenter
and created fields result in an JBCF Message Field. 

documentation https://jibrok.com/docs/message-field/dynamic-templates-examples/

Suggest an answer

Log in or Sign up to answer