Hi and happy Friday!
Is there a way to filter start date based on a calendar control and if so, how do you do that?
Hey @Mikael Sandberg!
Yes it is possible to filter start date based on a calendar control. The first step is to create your calendar control and save it to your dashboard. Once the calendar control is saved to the dashboard, you can connect it your your chart in the "Filters" section of a visual mode query:
In the “Filters” section of your visual mode query:
Add the date column you want the control to filter, in this case the start date column.
Select the filter operator. Most people use between and including.
Reference your control using its dashboard variable:
If the “Data type” of your control is Date, use {CALENDAR_NAME}
If the “Data type” of your control is Date range, use {CALENDAR_NAME.START} and {CALENDAR_NAME.END} for the start and end dates, respectively.
Replace CALENDAR_NAME with the name of your control.
Select Run query. The result table will update with the new filter applied to the data.
In my example below, I have a calendar control named 'CALENDAR', and I am using the between and including operator to filter on the start date column for dates that are in the range of my calendar control:
Hope this makes sense! Let me know if you have any questions :)
For more information, here is our documentation on setting up a calendar control: https://support.atlassian.com/analytics/docs/set-up-a-calendar-control/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The start date I am looking for is the custom field Start date that Jira creates, not the start date on the version which I believe is the one you are using above.
Start date from the Project fix version table is empty in this JSM project since it is not using versions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see, thank you for the clarification! Yes this should also be doable using a Visual SQL "Filter" step. Jira issue custom fields are store in the Issue Field table. Here are the steps to filter on the custom field start dates using a calendar control:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome, thank you so much @Skyler Ataide!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.