I'd like to use a process-variable to retrieve and store only date, no time information. Therefore I've defined a java.time.LocalDate variable in my process. Then in a taskform, where user should be able to enter a date, I entered a form-control of type DatePicker and unchecked its "show time" property. My problem: the entered date isn't stored in the process-variable. If I check the "show time" property, then the user is being asked for a daytime too and the Date (without time information) is stored in the variable. How can I ask only for a Date and store only a Date?
Another question: I'm using the jBPM-server-distribution 7.36.0.Final and Dates in the DatePicker-Control have the format mm/dd/YYYY. Would it be possible to show Dates with the format dd/mm/YYYY?
Thanks for your help!
I have multiple issues (people) in a Jira cloud instance and they all have a birthday field.
Now, I'ld like to run a JQL to find out if anyone have a birthday today, so I can remind everyone else. Is this possible?
I also have access to the automation for jira plugin if that helps.
Assuming that your birthday field is a valid date, try birthday_field >= startOfDay() AND birthday_field < endOfDay which should give you a result set of people/issues with birthday field value that fall today. For additional references, checkout Function Reference page.
I'm afraid this won't be easily possible.
If the field is date field (e.g. 11/Dec/1979), the birthday is probably stored including year of birth and therefore time functions (now(), startOfDay(), ...) won't work.
If the field is string field (1979-12-11), then you won't be able to compare it with today as you can get now() as a string.
One idea - if you have ScriptRunner installed, create a simple custom scripted field (e.g. Birthday Anniversary) and recalculate original birthday to birthday anniversary this year (11/Dec/2019). You will be then able to compare this field with today, e.g.:
"Birthday Anniversary" = now()
On top of that, once you are able to create such filter, you can create a custom dashboard with today's birthdays and you can subscribe to this filter and get daily overview of today's birthdays.
In my team we send notification about tickets in the following ways:
Jira filters subscription for cases where we need plain(to one person/lead/manager) notification, but without fields analysis
https://confluence.atlassian.com/jira064/receiving-search-results-via-email-720416706.html?_ga=2.134616433.1430628443.1592459825-259335427.1591590509
https://confluence.atlassian.com/jira064/receiving-search-results-via-email-720416706.html?_ga=2.134616433.1430628443.1592459825-259335427.1591590509
https://github.com/dgroup/lazylead for cases where we need automatically check ticket fields, comments, links and alert corresponding person, assignee or reporter.
Please note that i'm author of https://github.com/dgroup/lazylead app.
Irrespective of locale date format, I need to genereate the report with the date format of the locale which i passed in runtime. Am getting the expected results when I am editing fr in environment-designtime-locale and running it. But I want that to Dynamic.
Is anything doable in Penatho Report Desinger end to achieve it.
Finally I want the output in PDF fomrat with the dateformat am providing.
What I have already tried:
SQL level query modification is not accepted. Since for every date field we have to identify and do the query levle modification.
select FORMAT ( sample_date_field, 'f', ${Param_Locale} ) --> Param_Locale--> fr.
I want that all DateTime Objects come from Model may converted to Local of login user. All Datetime are stored in UTC format in Database.
For Example
If someone Create user and CreatedDate is stored in UTC.Now(2014-05-06 01:00PM);
Then someone login from Pakistan and navigate to users view then the DateTime must show as 2014-05-06 06:00PM for last created user.
I know how to convert but which is the best approach to do it. I want to convert all datetime coming from Database into current ..
I saved all My date formats in DateTime.UtcNow
and add 1 column TimeZoneId in DB and check it whenever some results are need to be shown on view or any thing want to manipulate according to timezone of current user.
I have a report in report services 2005 that has two date fields. The problem is that if users run this for a large section of time it uses too much resources on our server.
It is possible to only allow the end user to enter the start date and then the end date be auto populated/derived from this field (for example they enter the 1st of a month and this automatically change the end date to the last of a month.)
Yes you can do this. Hide your end date parameter, edit the expression for the default value and do a dateadd function using the startdate parameter.