How Do I Get customfield_ to work?

Peter Milakovich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2016

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

0 votes
Peter Milakovich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

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.

0 votes
Peter Milakovich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2016

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

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 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

Suggest an answer

Log in or Sign up to answer