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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

script jql function myProjects() does not return expected results

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

0 votes

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

141 views 1 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you