When i run a report in JIRA, i can put the start and end dates in the parameters in its configuration but then, when i run the same report the next day i have to enter the start and end date again.
I want to do a shortcut in my web browser using the URL generated by the JIRA report but i would then need to have a automatic start and endate like startOfWeek () and endOfWeek () parameters in the URL instead of having fixed start and end dates.
Now, what i tried is :
but what i get is not the right date range which from April29th to May 5th and today we are May 5th.
Maybe something is wrong in my syntax.
Thanks
Tony
Hi Tony,
Please see https://bitbucket.org/tempo-io/servertimesheet/wiki/Tips_and_Tricks#markdown-header-weekly-report
Thank you.
Hello Andriy,
I looked and the 'reportingDay' doesn't help me get ...
...show time spent for the current week, up to next Monday.
It always goes back to last week.
What i want to achieve is to see the current week, from Monday to Friday no matter what day i run the report.
Thanks
Tony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm, looks like you should not pass any dates or reportingDay, it is supposed to show current week by default.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please try adding offset=1, i.e. reportingDay=1&offset=1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, today to get this week's times, i have to push this in my URL ...
&reportingDay=0&startDate=2022-05-01&endDate=2022-05-07
instead of entering the start and end dates everytime, I was expecting to enter something like ...
&reportingDay=0&startDate=startOfWeek()&endDate=EndOfWeek()
so when i would use my shortcut in my browser, i would always get the current week times.
but it doesn't work.
It's like the system doesn't recognize the startOfWeek() or EndOfWeek() statments and it then puts last week Friday up to today which is not the current week.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, it appears numOfWeeks=1 is needed to make it work, and reportingDay=2 for Monday, e.g.
And if you need next week, add offset=1, it works when there is numOfWeeks param.
Actually, I've got it from gadget, as described in the doc, I've sent initially.
Note, the easiest way to compose correct report url is to click Details link in corresponding gadget, when it shows variable time window you'd like to get in the report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.