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
This is what is saved in Jira
DescriptionWhat=[entry.DescriptionWhatText]\\n \\n *Requestor's Repository:* [entry.LinkToRepo]\\n *Modules Called:* [entry.ModulesList.asArray()]
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Adrian M - Thanks for the update - This helps !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.