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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,294 views 5 10
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