Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

script jql function myProjects() does not return expected results

Sarit Cohen 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
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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