Hi there!
I am looking to create a URL that preselects fields for an issue creation screen. This is the URL:
https://[our domain]/secure/CreateIssueDetails!init.jspa?pid=10001&issuetype=10005&customfield_10067=Platform
This is throwing this error:
customfield_10067: Specify a valid value for Dev Team
And it's not selecting "Platform" as it should (see screenshots).
The custom field type is a multi-issue selector. What am I missing here?
Hi @Jessica Kizmann ,
TBH I haven´t ever tried this way of creating issues. As the field seems to be a multi-select field and from what I can see from this documentation a multi-select field takes an array of strings or the id of the value.
Could you please give it a shot wether this solves the problem?
Best
Stefan
I know how to find the ID of the Custom Field itself, but do you know how I can find the ID for the value? (In my case, the ID for Platform)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mkay. just tested this in my site and could only do it with the ID.
usually i get such information via the API. So in this case I chose the needed option in an issue and did a "get issue":
<your_domain>/rest/api/3/issue/{issueIdOrKey}
This will return a JSON of your issue. You can then search for your custom field and it will show the value and the value´s ID. I just tested your call with the option´s id and it worked.
Please let me know if you have any further question.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
great job @Jessica Kizmann 💪🏼
good to know you got that working.
Please consider to hit the accept button in the answer in order to mark this post as resolved and make it easier for other users to find a solution in case they are faced with a similar problem.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jessica Kizmann @Stefan Salzl any chance you guys can share the exact code. im trying to have a team preselcted as well in the url
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tenzing Doleck ,
I haven‘t tried this since my last answer (which is more than a year ago). As mentioned in the original post the value didn‘t work. Furthermore I‘m pretty sure that (if the balue works) it needs to be in quotation marks if there is a space in it (guess that might be a reason why it should be done with the id). Have you tried the suggested solution?
Best
Stefan
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.