You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi Time Reports for JIRA Cloud Dev,
Im currently trying to improve our Jira cloud by build on top of our purchased plugins. In this case, I would need to understand few things about Time Reports for Jira Cloud.
First :
How could I understand using HTML / JSON what type of report is contained in an iFrame from dashboard ? I mean, Time Report gadgets on dashboard uses iFrame name to pass the configuration of the widget. At first sight, it is pretty obscure to understand values of arguments.
Could you please explain where we can found the type of report. My guess is on that line :
{"constructor":{"args":["d7","d4","d5","d8"]}}
But what represent d7,d4,d5, etc....
Or may be on that param :
"request":{ "args":["w","y"] } },
But it is not more understandable.
Could you then provide more info about retrieve the type of the widget ?
Thanks
Hi Thomas,
I have no idea where is JSON you've provided form, and what does it mean, sorry.
As for Time Reports dashboard gadget, if you can use Developer Console in browser, and open Networks tab, then you can see request for gadget configuration e.g.
{ "key": "gadgetConfig", "value": { "pivotTableType": "Timesheet", "sumSubTasks": true, "includeEmpty": {}, "collapseFieldGroups": { "enabled": false }, "numOfWeeks": 1 } }
Hope it helps.
Thank you.
Thanks for replying.
I was looking into the iframe generated code of the computed gadget. I was thinking I could directly start from there.
Seems I need to retrieve first the dashboard parameters
<dashboard params="{huge:json}"></dashboard>
Then stores all gadget configuration, exactly as you said. And finally using stored gadget IDs I would be able to target specific iframe/html content.
Not so easy as I thought but far from impossible.
Thanks for replying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I achieved my task successfully based on my last comment.
But Im not using params attribute but layouts attributes instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.