Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OR operator between different attributes #3

Open
pkoevesdi opened this issue Nov 10, 2023 · 0 comments
Open

OR operator between different attributes #3

pkoevesdi opened this issue Nov 10, 2023 · 0 comments

Comments

@pkoevesdi
Copy link

Is it possible to connect different attributes with OR? For instance, if I want to have a list of all issues, where the current user is either author or assignee? I tried it like this:

{{ref_issues(-f:author = [current_user],-f:assigned_to = [current_user])}}

but confirming with the documentation, these produce an AND conjunction.
Also I tried

{{ref_issues(-f:author|assigned_to = [current_user])}}

which is kind of intuitive, but leads to an error message.
We migrated from trac, there it works with an "or" between the arguments like this:

[[TicketQuery(reporter=$USER,or,owner=$USER)]]

If an OR conjunction is not possible, I'd like to put this as a feature request. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant