Going back and forth to textarea box creates formatting issue

Adrian M
Contributor
December 20, 2024

When going back and forth from various fields creates formatting issue

Hidden Field named DescriptionWhat

User input fields:

DescriptionWhatText 
- Textarea

LinkToRepo - Text

ModulesList - Multi Select

The User Input fields are concatenated to the DescriptionWhat and the DescriptionWhat is saved to Jira. (see bottom of this post as this editor does not allow text to be inserted by copy and paste)

Scenario #1 - If the user inputs the values sequentially, all is ok and the data is formatted appropriately and saved in Jira.

Scenario #2 - If the user inputs a field, goes to another, comes back to the previous field and edits the content then the data isnt formatted appropriately and this shows when saved in Jira. 

In scenario #2 the concatenated values from the fields gets wrapped in single quotes and that is wrapped in [] brackets which gets sent to Jira 

This is the debug info

image.png

This is what is saved in Jira

image.png

DescriptionWhat=[entry.DescriptionWhatText]\\n \\n *Requestor's Repository:* [entry.LinkToRepo]\\n *Modules Called:* [entry.ModulesList.asArray()]

2 answers

0 votes
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 2, 2025

Hi @Adrian M 

Do you have only those 3 rules or you have more? Do you mind sharing the configuration for your form (page storage format)?

Alex

Adrian M
Contributor
January 6, 2025

Hi @Alex Medved _ConfiForms_ There are a lot of other rules on the form that are triggered based on selections of some fields. Unfortunately I don't have access to storage format to give you that.

0 votes
Humashankar VJ
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.
December 25, 2024

Hi @Adrian M 

The renderer used for the text fields may not support rich text formatting, which could lead to issues when text is edited or formatted improperly. It's advisable to check if the field is set to use a renderer that supports rich text (like Wiki Style) rather than plain text.

To learn more - Confluence Jira macro shows Descriptions with text...

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Adrian M
Contributor
January 2, 2025

Thank you for your response @Humashankar VJ . But the Jira editor isnt the issue. As explained in Scenario #1, if I go through the fields in sequence then the text is rendered correctly in Jira.

However I found the cause. I had another rule that set value to the same field under certain conditions and that was causing this issue. Adding an exclusion condition to that set value rule solved this issue.

Like Deleted user likes this
Deleted user January 2, 2025

.

Humashankar VJ
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 2, 2025

Hi @Adrian M - Thanks for the update - This helps !!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events