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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

135 views 2 0
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