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

2 votes
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
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,240 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