Can anyone test this and tell me if it happens by you?
opened 02:09PM - 05 Nov 20 UTC
closed 02:47PM - 05 Nov 20 UTC
<!--
Please use this template to create your bug report. By providing as much i… nfo as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefor take a couple of extra minutes to make sure you have provided all info needed.
PROTIP: record your screen and attach it as a gif to showcase the issue.
- Questions should be posted to: https://community.grafana.com
- Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS
- How to record and attach gif: https://bit.ly/2Mi8T6K
-->
**What happened**:
The dropdown didn't return any links/related items
**What you expected to happen**:
A dropdown list
**How to reproduce it (as minimally and precisely as possible)**:
Configure multiple tags as follows:
![image](https://user-images.githubusercontent.com/1325158/98251205-1ba56b00-1f81-11eb-907c-33bf37dbaf3e.png)
**Anything else we need to know?**:
This is what happens and what you get when you click on the link:
![image](https://user-images.githubusercontent.com/1325158/98251162-0b8d8b80-1f81-11eb-96e4-fcdf0f180297.png)
**Environment**:
- Grafana version: 7.1
- Data source type & version: SQL Server
- OS Grafana is installed on: CentOS
- User OS & Browser: Chrome
- Grafana plugins:
- Others:
We tried to configure dashboards links with multiple tags but then the menu doesn’t open. Only when we configure 1 tag at a time does it work. We confirmed that each of the tags indeed have a reference, and when each is mentioned alone the list gets populated.
Hi,
It’s working for me in 7.3 version. Was it working for you before or you just tried it ?
Good Luck
I have tried it first time in 7.3
Can you send me some screenshots of what you see:
the dashboard configured with multiple tags, and how the dropdown looks, and how the related dashboards look?
Hi,
Here is my setup :
In the second dash I create a dashboard link :
Then when I go to my dash, the following is well displayed :
But If I remove one of the tags on the dashboard link it doesn’t work, so the trick is that you must specify all the tags for the dashboards you want.
Hope it helps .
Good Luck
Hi,
that wasn’t my question (although I think that’s a bug)
What i asked was:
Assign to “New dashboard copy” a tag “tag” ONLY
Assign to “New dashboard copy 2” a tag “tag2” ONLY
Create “New Dashboard copy 3”. Add a links to a dynamic list of dashboards with the tags “tag” and “tag2”.
Then see if in the dropdown of “related dashboards” shown on “New Dashboard copy 3” you see BOTH dashboards in the list (New dashboard copy & New dashboard copy 2). This is the bug I am experiencing.
wlargou
February 3, 2021, 11:34am
6
Hi,
Okay I see, you are right, the tags are evaluated as “AND” and not “OR”.
You can open Feature Request on GitHub, it would be great to have this feature.
Good Luck
wlargou
February 3, 2021, 11:34am
7
reuvygroovy:
This is the bug
Btw this is working as designed (not a bug)
Why is this by design?
Where is that documented?
And this makes sense to you?
wlargou
February 3, 2021, 11:53am
9
Hi,
In the documentation it is mentioned as follow :
So it says that it will match to only dashboard that have the tags (maybe adding all tags would be more explicit).
Good Luck
I don’t want to argue on semantics, but - in english,
“to only the ones with the tags you enter” should include my example.
I would have rather written: "It will only display the dashboards with All of the exact same tags
wlargou
February 3, 2021, 12:43pm
11
So i’ll pass the word the the grafana website design, in the meantime you can create a feature request to take into consideration the « OR » scenario.
Good Luck
system
Closed
February 2, 2022, 1:00pm
12
This topic was automatically closed after 365 days. New replies are no longer allowed.