Use variables to reuse dashboard for multiple users

I'm not even sure how to ask my question effectively so i'll attempt to describe what i'm trying to do.

I manage 5 people and i want to create a separate dashboard for each so that i can keep track of each of their tasks and progress. each of my dashboards have 7 Filter Results gadgets that basically just pull back the issues that meet a set of criteria. I've created 5 different dashboards (1 for each of person) and anytime i want to make a change to my dashboards i have to modify 5 different dashboards/filters. Is there a way for me to do build a dashboard once and then select which person i want the issues for.

the way this would work in my head would be to create filters using a variable (assignee = userX). Then create some sort of toggle (similar to the quick filters in a KanBan or Scrum board) that would allow me to toggle that variable (userX = john) so that the dashboard will update with only john's issues.

is there any chance that this is possible? or are their other ways i might be able to go about achieving what i'm looking for? i just hate having to made a change 5 times everytime i want to update these boards.

Thanks.

2 answers

1 accepted

1 votes
Boris Berenberg Community Champion Jan 05, 2015

I think you can accomplish a lot of this by using nested filters and functions. Take a look at: https://confluence.atlassian.com/display/JIRA/Advanced+Searching

For example:

assignee = user1 and resolution is empty
assignee = user2 and resolution is empty
assignee = user3 and resolution is empty

Would become:

assignee = currentUser() and resolution is empty

This would not work when you went to audit their work, but it would make it easier to control their boards.

Nested filters allow you to convert this:

assignee = user1 and project = ABC and label = foo and status = ready

Into:

project = ABC and label = foo and status = ready - Saved filter named ABCReadyFoo
assignee = user1 and filter = ABCReadyFoo

thanks Boris! not a perfect solution but it definitely saves me a bunch of time when i need to make updates to my filters. i just spent the last hour and a half updating all my filters.

@Boris Berenberg , is there any chance that i can do the same or similar thing with my dashboards?

Boris Berenberg Community Champion Jan 06, 2015

I am not sure what you mean? The JQL will execute as whatever user runs it.

I use this method heavily. Does anyone know - has the nested functionality broken in one of the recent Jira updates? (currently using 7.1.9 installed locally). I have recently been getting different results for 

filter abc: "query = 123"

and : "filter = abc"

(in my situation there are multiple levels, so this could be broken only at double or triple levels of nesting) 

Thanks,

Mike

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot