Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pass a URL/querystring parameter to a dashboard gadget

Vicky Blease
Contributor
September 23, 2019

Hi all,

Rather than hard coding parameter values on a dashboard gadget, is it at all possible to reference a URL/querystring parameter so the gadget will dynamically update on page load?

Thank you,

Vicky

3 answers

2 votes
Vicky Blease
Contributor
October 9, 2019

*Bump*

1 vote
Michael Beausoleil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 2, 2020

I would also like to be able to do this or something similar to allow for a single dashboard to be created and used by multiple teams without having to duplicate the dashboards for each team.

Can we get an suggested solution for this?

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2019

Hello there, @Vicky Blease!

I am not sure if your current situation is related to Confluence. I believe that you are referencing Jira. Is that correct?

Maybe our documentation can help you with this matter:

Let us hear from you!

Vicky Blease
Contributor
September 25, 2019

Hi Diego, thanks for your response! :)

Specifically I'm talking about Jira gadgets, apologies for any confusion.

A couple of those links you have shared don't work :(

Am I clear with my question?

I want to be able to request a dashboard on a URL such as

https://[domain].com/secure/Dashboard.jspa?selectPageId=11001&JQL=key=%27PRJ-185%27

and the bold text be automatically populated in the gadget field:

1.jpg

This means the user won't have to edit the gadget properties whenever they want to update the dashboard. Rather I can update the presentation of the content using the URL querystring (bold text above).

I was hoping there would be a built in Jira function, so that in the URL parameters field I could write something like $JQL or ? or {JQL} or *SOMETHING* that would tell the gadget to fetch the value of the querystring parameter JQL.

Any ideas?

Thank you again!

Rahul Prabhune February 7, 2024

Yes @Diego  , @Vicky Blease , @Michael Beausoleil 

I would also like to use the same dashboard across all projects. 

 

What we would need is a parameterised filter - the value to that parameter i will pass via the dashboard when i open the dashboard. So when i open the dashboard it should ask me value to the parameter and pass those values to the filters underlying all the gadgets on the dashboard. 

 

Usually i end up creating the exact same filters and exact same dashboards for all my projects in JIRA. 

 

Too much to maintain and too much to create.

 

Instead it would be great to be able to create parameterised filters which i use on a dashboard and pass the parameter to those filters via the dashboard screen. 

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events