how to prefill a jira story with values incl line breaks

I try to prefill a jira request from a confluence page with and formular button.

but the description part is not correct handled.

code from confluence page

<form action="!Init.jspa" align="center" target="_new" style="margin: 15px;">
   <input type="hidden" name="pid" value="12690"></input>
   <input type="hidden" name="issuetype" value="27"></input>
   <input type="hidden" name="priority" value="5"></input>
   <input type="hidden" name="assignee" value="bart"></input>
   <input type="hidden" name="customfield_16791" value="homer"></input>
   <input type="hidden" name="description" value="
{panel:title=User Story}\
\{panel:title=Detailed Description}
\{panel:title=Security impact description}
\{panel:title=Acceptance criteria}
   <input type="Submit" value="new US for our Team" style="font-weight:bold; font-size:22px; background-color:#4f81bc; color:white; border: 1px solid #455b78;"> </form> 

but the description part is always shown in jira as:

 %7Bpanel%3Atitle%3DUser Story%7D%5C%0D%0A %5C%0D%0A%5C%7Bpanel%7D%0D%0A%5C%7Bpanel%3Atitle%3DDetailed Description%7D%0D%0A%5C %0D%0A%5C%7Bpanel%7D%0D%0A%5C%7Bpanel%3Atitle%3DSecurity impact description%7D%0D%0A%5C %0D%0A%5C%7Bpanel%7D%0D%0A%5C%7Bpanel%3Atitle%3DAcceptance criteria%7D%0D%0A%5C %0D%0A%5C%7Bpanel%7D

It looks like confluence already convert a lot during the save procedure and destroys therefor the structure...


What can I do ?


0 answers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

685 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you