hello All
recently have been working on a small configuaration change in JIRA which can allow a user to write a gadget whcih can autorefresh it at a given interval .. just so that this post conversation can be helpful for others i am pasting the link as it is .
in case any problem revert back
want to create a customized page using JIRA functionality which can autorefresh it in say 15 sec interval any direction is appreciated
By Manish Ranjan (1 karma) on Mar 02 at 5:22 a.m.
jira
jira-plugins
answer my own question | add comment
edit|poke atlassian answer my own question | add comment 0
4 Answers:
oldest answers
newest answers
popular answers ↑
oldest answers
newest answers
popular answers ↑
I think you have to explain this a little bit more. I have no idea what you want to do... Sorry
By Thomas-S (616 karma) on Mar 02 at 5:57 a.m.
add comment
permanent link add comment
actually i want to write a plugin which will ahev a customized landing page and the page needed to be be refresh at an interval of 15 sec .
(Mar 02 at 06:16 AM)
Manish Ranjan
actually i want to write a plugin which will ahev a customized landing page and the page needed to be be refresh at an interval of 15 sec .
(Mar 02 at 06:16 AM)
Manish Ranjan 0
Is this a jira dashboard you are trying to get to refresh every 15s?
The old skool approach would be to have an HTML page with frames & a piece of javascript that reloaded your target page every 15s but that would be nasty!
By Matthew Cobby (1.4k karma) on Mar 02 at 11:38 a.m.
add comment
permanent link add comment
may be i will have my own gadget doint it for me .. but as of now i am facing another problem where i am able to see my gadget in plugins but not able to add it to the newly created dashboard.
can you also please help me in how can i add my own custom page to JIRA dashboard .. That would be in form a gadget right ?
also say i want to modify the "Assign to me" gadget providded by JIRA for a time less than a min rather than the options provided by JIRA which is atleast 15 mins.. how can i do that ?
(Mar 03 at 08:13 AM)
Manish Ranjan
may be i will have my own gadget doint it for me .. but as of now i am facing another problem where i am able to see my gadget in plugins but not able to add it to the newly created dashboard.
can you also please help me in how can i add my own custom page to JIRA dashboard .. That would be in form a gadget right ?
also say i want to modify the "Assign to me" gadget providded by JIRA for a time less than a min rather than the options provided by JIRA which is atleast 15 mins.. how can i do that ?
(Mar 03 at 08:13 AM)
Manish Ranjan 0
Why not just a meta tag, please see http://en.wikipedia.org/wiki/Meta_refresh
By Dieter (3.1k karma) on Mar 03 at 9:05 a.m.
add comment
permanent link add comment
but to embed the meta tag i need to figure out the source of "assigned to me" jsp right ? i tried but couldnt do the same. i have been doing research on this since wednesday so if i asking something silly am sorry,just to add i have not been able to add my own Custom page to JIRA as mentioned above so i am kinda stuck ..
(Mar 03 at 09:22 AM)
Manish Ranjan
but to embed the meta tag i need to figure out the source of "assigned to me" jsp right ? i tried but couldnt do the same. i have been doing research on this since wednesday so if i asking something silly am sorry,just to add i have not been able to add my own Custom page to JIRA as mentioned above so i am kinda stuck ..
(Mar 03 at 09:22 AM)
Manish Ranjan
Oh sorry, i hadn't seen your comment that you want to override the refresh period of the gadget. My answer was meant for a classical webwork action page, so probably this anwer is not useful.
(Mar 03 at 11:59 AM)
Dieter
Oh sorry, i hadn't seen your comment that you want to override the refresh period of the gadget. My answer was meant for a classical webwork action page, so probably this anwer is not useful.
(Mar 03 at 11:59 AM)
Dieter
1
you should search through all gadget.xml files in the Atlassian source tree to find the html and js code that makes up the assigned to me gadget.
(Mar 03 at 12:04 PM)
Dieter
1
you should search through all gadget.xml files in the Atlassian source tree to find the html and js code that makes up the assigned to me gadget.
(Mar 03 at 12:04 PM)
Dieter
when you say altassian source tree you mean in Jira installtion which is at /opt/atlassian/jira right ??i have been trying to backtrace the xml file but no success yet .. will try harder .. thanks for your help .. any pointer to search the same will be really helpfull. Manish
(2 days ago)
Manish Ranjan
when you say altassian source tree you mean in Jira installtion which is at /opt/atlassian/jira right ??i have been trying to backtrace the xml file but no success yet .. will try harder .. thanks for your help .. any pointer to search the same will be really helpfull. Manish
(2 days ago)
Manish Ranjan
1
no i mean the source code that you can get when you buy a commerical license. You will not find anything in the installed distribution since the gadget.xmls live in JAR files.
(yesterday)
Dieter
1
no i mean the source code that you can get when you buy a commerical license. You will not find anything in the installed distribution since the gadget.xmls live in JAR files.
(yesterday)
Dieter
okay cool .. i do have a commercial license , will look in to that . Thanks for your help
(yesterday)
Manish Ranjan
okay cool .. i do have a commercial license , will look in to that . Thanks for your help
(yesterday)
Manish Ranjan 0
If it's the assigned to me gadget that you want to change the refresh rate, then there is a really simple answer if you also have Confluence. Edit a page, bring up the macro browser & insert the gadget you want. At the bottom should be an option to refresh, set it anything, it doesn't matter. Save.
Then look at the macro that has been created in your page. It should have a refresh parameter. Change this to be your new rate e.g. refresh=1 for every minute. If you put something like refresh=true then it will refresh as fast as it can & will massively increase the load on your jira server.
{gadget:url=http://jira.xxxxxx.com:8080/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:filter-results-gadget/gadgets/filter-results-gadget.xml}filterId=filter-11027&num=10&columnNames=--Default--&isConfigured=true&refresh=1{gadget}