Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ScriptRunner for Jira

Liliya Shamray March 23, 2018

Hi!

We faced with a problem that this script doesn't work with the JQL request "issueFunction in subtasksOf ()" once it's installed

Could you advise on whether this means that "Sync all issues" function should be enabled ?

What is the impact on the projects within the whole instance in this case ?

Can this step be skipped if the solution is different ?

Thank you
Liliya

1 answer

1 vote
Marcos Sanchez
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.
March 23, 2018

Hi,

Could you please send the complete JQL that you are trying to use?

Thanks.

Liliya Shamray March 23, 2018

Hi

Here is the request :

issueFunction in subtasksOf ("label=CQdelete")

KR,

Liliya

Marcos Sanchez
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.
March 23, 2018

Hi!

I guess that the error that you are facing is

  • Error in scripted function: subtasksOf, see below
  • Field 'label' does not exist or you do not have permission to view it.


If you are getting this error, the problem is that "label=CQdelete" is not a valid subquery.

If you are using the Labels System Field the query must be:

issueFunction in subtasksOf ("labels=CQdelete")

Regards,
Marcos

Liliya Shamray March 23, 2018

Still doesn't work anyway

The message says that issueFunction doesn't exist or you don't have permission to view it

KR,

Liliya

Marcos Sanchez
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.
March 23, 2018

Hi!

You can try to disable and reenable the Scriptrunner Add-On or restart JIRA.

 

Both solutions were proposed here https://community.atlassian.com/t5/Jira-questions/I-cannot-run-issueFunction-in-JQL/qaq-p/3899

 

Regards

Marcos

Liliya Shamray March 26, 2018

Thank you for the advises

It was helpful and resolved !

 

Liliya

Marcos Sanchez
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.
March 26, 2018

It's great to hear that!

 

Have a nice day,

Marcos

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events