I am writing shell scripts using cURL against the Jira Rest Api.
I was successful creating filters and changing the permission.
Now I want a Dashboard that show these new filters.
I have an example Dashboard that could be copied and modified.
But somehow I stuggle using the Rest Api.
I can show the example dashboard
But I cannot get items or properties since I don't know how to get the Ids.
I found an article in the internet that extracts the id from the Html div (e.g. <div id="gadget-41304-renderbox"> - the Id is 41304).
What am I missing here?
To be honest I only want to exchange the used Filter Results from within the Dashboard.
So currently the Dashboard shows Filter Results for filter "something" and I want the Dashboard (or its copy) to show Filter Results for the created filter "anything".
Well, maybe I checked the wrong Jira distribution.
I am using this documentation (more or less successfully): https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-dashboards/#api-rest-api-3-dashboard-post
Ah ok, so you are using Cloud.
I've found couple open questions and I'm afraid there isn't a public rest API to modify a dashboard to Cloud as well.
My suggestion is to keep this question open for a while, and see other opinions about this.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events