Pre-populate Label in CreateIssue URL Edited

(edited due to typo in the original post)

Hi Folks,

 

Can anyone help me withe the proper syntax for pre-populating a label when using the URL for Create Issue?

 

I've tried various combos, but it doesn't work

 

This sort of things works fine for me"

https://<server>/secure/CreateIssue!default.jspa?pid=10000&issuetype=10000

(i.e. without the Lable parameter)

 

But this doesn't:

https://<server>/secure/CreateIssue!default.jspa?pid=10000&issuetype=10000&labels=%22PI7%22

 

Any ideas?

2 answers

0 votes

Jira expects parameters in a url to be quoted in double quotes, it sees single quotes as part of the data.

Hi Nic,

Thanks for the reply, but that suggests the URL should be as per the example (i.e. with '&labels=%22PI7%22'), but that doesn't actuially work.

Do we know if it's possible to pre-populate a label?  Perhaps this is one field you cannot pre-populate?

Aby furthre help appreciated.

Regards

Mick

That's the one you said works fine, so I'm a little confused.

Ooops, silly me - I meant to say, the one that works fine is:

 

https://<server>/secure/CreateIssue!default.jspa?pid=10000&issuetype=10000

 

i.e. without the Lablel parameter

 

Regards

Mick

Bumpity bump

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,636 views 18 21
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