Hello,
I am using the ScriptRunner JQL function linkedIssuesOf to do something like this:
issueFunction in linkedIssuesOf("fixVersion in ("1.0", "1.1")", linkname)
but getting the JQL error " Error in the JQL Query: Expecting ')' or ',' but got '1.0'.
Does this function support the IN operator or just "=" as in the examples of the doc?
Thanks in advance for your help.
You're missing a " in that query
Thanks, sorry was an error in the post, I corrected the post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it's still the punctuation in there - break it down by line breaks instead of quotes, and you get issueFunction in linkedIssuesOf( "fixVersion in (" 1.0 ", " 1.1 ")" , linkname) As you can see, the third line is not a clause, it's just a string. I'd try issueFunction in linkedIssuesOf(fixVersion in ("1.0", "1.1"), linkname)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic, but if I copy/paste your line in JQL I still get the error: --Error in the JQL Query: Expecting ')' or ',' but got 'in'. (line 1, character 44)--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I think I have it. Sorry, I should have looked for that more closely issueFunction in linkedIssuesOf("fixVersion in ('1.0', '1.1')", "blocks")
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.