Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,269
Community Members
 
Community Events
165
Community Groups

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
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

315 views 0 10
Join discussion

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