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

This widget could not be displayed.
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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

202 views 1 3
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