Forums

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

script jql function myProjects() does not return expected results

Sarit Cohen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 18, 2019

Hi,

I have a difficulty understanding how does myProjects() work.

I run the following query in the Issue Navigator: project in myProjects().

But I don't get any results.

I have the QA role in my project and the role is based on users.

The installed version of Scriptrunner is 5.4.43. 

The query does work for our admin user who is a member of the Administrators role.

 

Thanks,

Alon

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
PD Sheehan
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 26, 2019

I think you need to be in a role that grants "Browse Project Permission".

If you only have Browse Project Permission from global permission and not specifically via a project role, then you will see no results.

TAGS
AUG Leaders

Atlassian Community Events