I need to update JQL in all filters of a particular dashboard
Trying to automate using jenkins job.
I am able to update single filter JQL using Rest api.
But how do i get all filter id's of a dashboard using api or SQL
Hi Logeshwari,
Reviewing the rest API inside of Jira Cloud, it shows that there is no single way to get this information.
To do this, you first need to call the Get Dashboard Gadgets endpoint documented here to return a list of all gadgets on the dashboard and to store their ID's in a variable.
You then need to call the Get Dashboard Item Property Key for each ID using the property key of config to get details of the configuration of each dashboard gadget and if it has a filterId in its config, then you can extract this to update.
I hope this information helps.
Regards,
Kristian
Hi,
Yes those api are not working for me. I am working on Server and those are cloud API's
can you please see the screen shot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Logeshawari,
Ok. You categorised this community answer for Cloud which is why the response was based on Jira Cloud.
For Jira server, I would advise re-posting the question and tagging it for Jira server/ data centre.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.