jira-assistant icon indicating copy to clipboard operation
jira-assistant copied to clipboard

Worklog - Add filter to query params and load filter from query params if available

Open nothing-personal-gh opened this issue 1 year ago • 1 comments

Checklist before you being

  • [X] I am sure that I am already using latest version of Jira Assistant
  • [X] I had verified that there are no existing requests with similar suggestion in issue tracker
  • [X] I had verified that, my query is not answered in FAQ section of website

How do you use Jira Assistant?

Web version

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Cloud Jira

Version of Jira Assistant

Build: 10-Jan-2023 05:46:08 AM

What browser are you using?

Vivaldi

Feature Suggestion

I use the new worklog page everyday to track if I am meeting the allocated budget of hours for the current month. So I visit https://app.jiraassistant.com/2/reports/worklog everyday. I click on the calendar icon and select 'This Month'.

To save on 2 clicks and load the filtered view automatically, we could add the filter name to the URL after selecting a filter. Eg.

https://app.jiraassistant.com/2/reports/worklog?filter=thisMonth https://app.jiraassistant.com/2/reports/worklog?filter=lastOneMonth

We could then bookmark this URL and load this straightaway. The worklog page will check if there is a query param and load the worklog for the filter from the query param.

I can raise a PR for this change if you think this is useful and can tell me which files I need to modify for this feature.

Checklist before you submit

  • [X] I have ensured not to paste any confidential information like Jira url, Mail id, etc.
  • [X] I have added required screenshots (as necessary)

nothing-personal-gh avatar Jan 09 '23 22:01 nothing-personal-gh