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 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 ...

2,755 views 11 18
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