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 vote

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

254 views 1 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