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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,307 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot