Forums

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

Adavance Form - Get paragraph form field

Celeste D'Alessandro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 28, 2023

I'm working with advance form and automations. I need to generate new issues using the form information once the issue is created. For this reason not all the form fields are maped to a jira field.
I need to extract the form info and put in the new issues fields, I was able to do this, but I have a particular case with paragraph form field.

I've added a paragraph field in the form, and my customer had specified a text with in with the following format (see the attached file "Promo - Paragraph issue")

Promo - Paragraph issue 2.PNG

 

I was not able to extract all the text together. I was able to extract by level:

  • "{{{{issue.properties."proforma.forms.i1".state.answers.77.adf.content.content.text}}}}" --> With this I bring the first level (bold text)
  • "{{{{issue.properties."proforma.forms.i1".state.answers.77.adf.content.content.content.content.text}}}}" --> With this I bring the second level (bullet text)

Could you help me to bring the full text?

This is the code that I gets for the field 77:

77={adf={version=1, type=doc, content=[{type=paragraph, content=[{type=text, text=UX:, marks=[{type=strong}]}]}, {type=paragraph, content=[{type=text, text=Vivo en un pueblo muy pequeño situado en una de las rutas preferidas por los senderistas de la zona. En verano, vienen turistas de todas partes del país. A menudo están muy cansados porque caminan muchos kilómetros con la mochila a cuestas. Por suerte, la ciudad cuenta con un campamento y varios hoteles en los que pueden pasar la noche.}]}, {type=paragraph, content=[{type=text, text=Design:, marks=[{type=strong}]}]}, {type=bulletList, content=[{type=listItem, content=[{type=paragraph, content=[{type=text, text=Mirror Style Guide for in-store header cards for promotional banners.}]}]}, {type=listItem, content=[{type=paragraph, content=[{type=text, text=Simplify/declutter where applicable for smaller digital assets (see reference example)}]}]}]}, {type=paragraph, content=[{type=text, text=Copy:, marks=[{type=strong}]}]}, {type=bulletList, content=[{type=listItem, content=[{type=paragraph, content=[{type=text, text=Mirror copy from in-store header card}]}]}, {type=listItem, content=[{type=paragraph, content=[{type=text, text=With purchase of any participating model}]}]}, {type=listItem, content=[{type=paragraph, content=[{type=text, text=valued up to $350}]}]}]}, {type=paragraph, content=[{type=text, text=Celeste }]}, {type=paragraph, content=[]}]}}

Thanks in advance! Regards!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events