Hello, everyone
Did you know how to set value of type "Select list (multiple choices)" using direct HTML links in Jira Server?
There is custom field with multiple choices from select list.
I try this:
https://jirabaseurl/secure/CreateIssueDetails!init.jspa?issuetype=10100&pid=22111&reporter=testuser&customfield_1440020=[Users]
https://jirabaseurl/secure/CreateIssueDetails!init.jspa?issuetype=10100&pid=22111&reporter=testuser&customfield_1440020=Users
"Users" one of options in the select list of field.
https://jirabaseurl/secure/CreateIssueDetails!init.jspa?issuetype=10100&pid=22111&reporter=testuser&customfield_1440020=[22000]
https://jirabaseurl/secure/CreateIssueDetails!init.jspa?issuetype=10100&pid=22111&reporter=testuser&customfield_1440020=22000
22000 is the id of option.
But all the time I have error : Invalid value 'myvalue' passed for customfield
Thank you )
Hi @Айри Мизуно
I tried and this option works for me:
https://jirabaseurl/secure/CreateIssueDetails!init.jspa?issuetype=10100&pid=22111&reporter=testuser&customfield_1440020=22000
I just had to add the summary field.
When I add a different value for the select, let's say "0000" the error says
"customField_1440020: Invalid value '0000' passed for customfield 'nameOfField'. Allowed values are "1440020[Users], XXXXX...."
Does your message also shows you the allowd values?
Hi, @Gustavo Félix
I was wrong. I used fieldConfigId instead of selectedValue. So this solution is work with the correct id:
https://jirabaseurl/secure/CreateIssueDetails!init.jspa?issuetype=10100&pid=22111&reporter=testuser&customfield_1440020=22000
No, error message didn't shows allowed values.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.