Pre-populate Label in CreateIssue URL

<Reposting to bump it>

Hi Folks,

Can anyone help me with 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?  Is it even possible?

1 answer

1 vote
Maarten Cautreels Community Champion Aug 21, 2017

Hi Michael,

It does work for me without the quotes:

https://<server>/secure/CreateIssueDetails!init.jspa?pid=10000&issuetype=10000&labels=test

And if you'd like to add multiple labels, simply add the labels param multiple times:

https://atlassian.persgroep.net/jira/secure/CreateIssueDetails!init.jspa?pid=14598&issuetype=6&labels=test&labels=testing

Hope this helps.

Best,

Maarten

Thanks for the prompt reply - but I tried that and it didn't work.  I tried it the other day, and tried it again after reading your response and it doesn't work.

I add that to the URL, but the Label field remains blank - it's simply not populated.  In my case I tried:

...&labels=PI7

Perhaps it's a version issue - we have v6.3.13#6344

Any suggestions?

Hey Michael -- are you using CreateIssuesDetails!init.jspa? That is the part that allows to to pre-populate the fields.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

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