How Do I Get customfield_ to work?

This question is in reference to Atlassian Documentation: Creating Issues via direct HTML links

I've attempted to use the following:

http://jira.net/jira/secure/CreateIssue.jspa?pid=14202&issuetype=11600&customfield_18902=43307

 

When I attempt to use it, it successfully brings up the JIRA Create screen and properly populates the project and issue type id.

However, the custom field is not updated with the indicated value.  The field is a single-select field with a large list of values, and I was able to get the id '43307' for the value I'm wanting.  But it does not display my value, instead showing the default 'none'.

Any suggestions on how to get this to work would be greatly appreciated.

3 answers

This widget could not be displayed.
Steven Behnke Community Champion Apr 21, 2016

Can you show us the raw HTML of a form, so we can inspect the URL you have written against the values available in your instance?

For instance, this works just fine for me – https://jira.atlassian.com/secure/CreateIssueDetails!init.jspa?pid=10420&issuetype=2&summary=detailed+example%20&description=description+goes+here&components=10240&duedate=7-Dec-2005%20&customfield_10010=this+is+a+custom+field&customfield_10040=10022

This widget could not be displayed.

That's actually it (except base url changed to jira.net).  Everything works up to the customfield. 

This widget could not be displayed.

I was sort of able to get it to work, kinda:

 

http://jira.net/jira/secure/CreateIssueDetails!init.jspa?pid=14202&issuetype=11600&customfield_18902=43307

The problem here is, instead of just populating the fields, it also attempts to save, which fails because other required fields are yet to be populated.  Will continue to try to twist the url to get it to do what I want.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Canada

AUG Lunch Roundtable - August 13 - Highlights

Thanks to everyone who came out today for the lunch AUG - we had some great food and discussion (and ice cream sandwiches to fend off the heat!) The welcome and fun fact was great as well, what an aw...

30 views 1 3
View post

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