Please explain how to detect report type in iframe name json configuration


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 :



But what represent d7,d4,d5, etc....


Or may be on that param :



But it is not more understandable.

Could you then provide more info about retrieve the type of the widget ?


1 answer

1 accepted

0 votes
Answer accepted

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.

I achieved my task successfully based on my last comment.

But Im not using params attribute but layouts attributes instead.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: More details: https://co...

35 views 1 0
View post

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