When I create a board based on the following sample filter:
(labels = SomeLabel OR project = Project1) ORDER BY Rank ASC
I am unable to administer sprints, even though I have Project Administator permissions. The above query is returning issues that are in 5 projects, if I alter the query to look like this:
(project = Project1 OR ((project = Project2 OR project = Project3 OR project = Project4 OR project = Project5) AND labels = SomeLabel) ) ORDER BY Rank ASC
All works just fine - that is I am now able to administor sprints. Note: the query returns the same number of issues.
Any help would be appreciated.
This is because the 'project context' of your first query is global (labels = SomeLabel could include any project from the entire system). If you are a project administrator for every project on the system you should be able to administer it, but not otherwise.
Your second filter explicitely indicates which projects are included which is why it works as you would expect.
Well, your answer kinda makes sense; however, the documentation on Green Hopper has this all over the place:
This seems to imply that any project included in the filter no matter how it got there should be enough. I'm not sure about the "project context = global". I have to say as an end user this was certainly not clear at all and in fact, after reading the above documentation over and over, I came to the conculusion that all projects included in the filter, no matter how it got in there, should be good enough.
I would have to say that this is a bug, because my 2 cents on this is that users don't care if they are in global context or not, they just care that the filter they are using returns a list of issues and if they have the correct permissions on that list. If not, then certainly the documentation needs to be better.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot