Scripted JQL Functions Error

Junaid Shah
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 16, 2015

Hi,

Trying to run a Scripted JQL query to retrieve subtasks of certain issue types or certain issues themselves.

I've got the query ;

issueFunction in subtasksOf("issuetype = (TBC) Sales")

This gives me the error:

  • Error in scripted function: subtasksOf, see below
  • MismatchedTokenException(34!=-1)

However if I use this query;

issueFunction in subtasksOf("project= TBCPROJ")

I get subtasks in the project TBCPROJ, with no errors.

Running Script Runner: 2.1.17 on JIRA 6.2.7

Any help is appreciated, thanks.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

5 votes
Answer accepted
JamieA
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 16, 2015
issueFunction in subtasksOf("issuetype = '(TBC) Sales'")
Junaid Shah
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 16, 2015

Thanks.

TAGS
AUG Leaders

Atlassian Community Events