Cant set start/end Date. Date field always switches back to actual month

stiv_marro January 20, 2021

Hi all

I'm new with jira.

So i hope to get some help from the community.

We got the problem, that we can't set a beginning- or expiring-date after this month (january). We can pick a Date (ex. 20.2.2021) out from the calendar, but re-open the task again, it shows the date: 20.1.2021! 

How is this possible? 

We didnt set a rule or a automatisation

20_02_21.png20_01_21.png

Best wishes

Stiv

6 answers

1 accepted

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2021

Hi @stiv_marro 

I understand that you are attempting to set date values, but that these consistently appear to be getting reverted specifically in the month value to a value of 1 (January) despite whatever other value you put in there.

I have a hunch as to the cause here.  Could you please navigate within Jira into the System -> Advanaced settings page?  You can get there by going to the Cog icon -> System -> General Configuration -> then click the Advanced settings button OR navigate specifically to [yourSite].atlassian.net/secure/admin/AdvancedApplicationProperties.jspa

I am interested to see what values you have entered here for

  • jira.date.picker.java.format
  • jira.date.picker.javascript.format
  • jira.date.time.picker.java.format
  • jira.date.time.picker.javascript.format

Here is my own customized entries.  The only changes I made in my own was to use 4 digit year values everywhere.

Screen Shot 2021-01-22 at 3.54.21 PM.png

What I suspect has happened here is that you might have selected a .java.format value in using a 'm' or 'mm' (minute) instead of an 'M', 'MM', or 'MMM' value (Month).  If I am correct, it could explain the behavior you have seen here.  Jira is attempting to interpret the date value you have selected, but because it's being told to look at this second number as a minute value, the month value isn't technically being set by Jira when you enter any date.  As such Jira is defaulting to a value of 1 because it needs to have some value here or dates just don't work at all.

Let me know what your values are on this page for those 4 fields, and I should be able to help you correct them so that dates will appear the way you want within Jira.

Regards,

Andy

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2021

Ah, good theory Andy. I would have never thought of that. Let’s see if it pans out. 

stiv_marro January 24, 2021

Hi Andy

 

Thanks for your Help.

Here is the screenshot of the advanced properties.

I changed them, equal your screenshot. You where absolutly right with your speculation.

Now it works fine!!

Many many thanks to all for solving my problem!

But i would be very glad if you can set all dates correctly for me. Date Format dd.MM.YY

Because if i open a new task and try to take a date from the picker, it doesn't work. I have to put it manually. Changing dates in the picker from a existing task, works fine!

First settings

datepicker_new_task.png

 

erw_einstellungen.png

settings new after your correction

neue_einstellungen.png

 

stiv_marro January 24, 2021

Hi Andy

 

Now it works very fine with this settings.

Many thanks for your help in my case.

I changed the settings equal your screenshot.

Like Jack Brickey likes this
0 votes
Reshma Padkil March 27, 2024

Thank you

0 votes
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 23, 2021

Hi

the screen capture show the problem happening using the date picker widget. The field seems to change on the page but gets reset.

stiv_marro January 24, 2021

Hi Tom.

I also tried to set the date manually.

No chance!

0 votes
stiv_marro January 20, 2021

Good morning Guys

Here is the first console recording output log:

Console recording Output 

and the network .har file

Network .har File 

Best wishes and many thanks

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Hi

are you able to record a screen capture showing this is action?

stiv_marro January 21, 2021

Hi tom

Here is a screen capture

Capture Video Changing Date 

Like Dirk Ronsmans likes this
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Hi  - i get a 500 Internal server error for that link

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Main thing I notice is that it doesn't even change on the card..

Like stiv_marro likes this
stiv_marro January 21, 2021

@Tom Lister 

Did my link work now?

I tried it without problems.

@Dirk Ronsmans 

So you can reproduce this problem?

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

The link works for me. I cannot reproduce it, I just noticed in the capture that when you change the date and close the issue the date on the card didn't even update.

I'm just wondering if there isn't an error that we cannot see causing the save to fail.

@Jack Brickey escalated it to the Atlassian Team so I'm hoping they can see something on your instance.

Like # people like this
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

This might be one for Atlassian support

Like # people like this
stiv_marro January 21, 2021

At this point, i will thank you very much for your effort in my problem!

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

@stiv_marro , i have flagged this to see if someone from Atlassian can assist. as we (community members/leaders) have no access to other's instances (nor should we) there is occasionally a wall that we hit. And given you are on Free plan there is no official support beyond the Community. I can't help but feel something obvious is being overlook/misunderstood as I have never seen anything like this before. So... hang tight and see if this thread gets any new eyes/ideas. Cheers!

Like stiv_marro likes this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

for sure @Dirk Ronsmans i feel the date is not saving. that is why I inquired if Stiv was clicking outside of the date field as that is required to register the date. If this behavior is occurring in the default due date field then something is most certainly wrong.

Like stiv_marro likes this
0 votes
Tom Lister January 20, 2021

Any 'behaviours' defined for the forms?

Are these fields related to any plugins e.g. WBS Gantt

stiv_marro January 20, 2021

Hi tom

No, i also tested this case in my new created test-project with standard forms.

Is there a view to check a possible plugin?

My forerunner set up the jira enviroment.

Greetz

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Hi

If you go to Jira Administration/Manage Apps you will see all the installed plugins.

If you have scriptrunner installed, it is possible there maybe a behaviour defined for the date fields.

This is one of the strangest problems on here

stiv_marro January 21, 2021

Hi Tom

Here is the List of installed apps. As i can see, this installed ones, are normal plugins from Atlassian

installed_apps.png

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Based on those I can't see what would interact with the issue in this way..

You can try disabling "my reminders" for a moment as that does some Date stuff but I cant see why it would change your dates.

//starting to lose my mind on this one..

stiv_marro January 21, 2021

Hi Dirk

i will give this one a try.

But i  don't see any function for "disabling" the plugin. i have only the option to uninstall? i think, that this would effect the productiv work to much.

uninstall_disable_app.png

Please don't loose your mind! I'm thankfull and happy about every help that i can get from you.

Best wishes

Stiv

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Ah yes, Cloud only has "Uninstall", this should not affect the data tho (it should even mention it when you click the button that your data is kept for some time).

I don't mind losing my mind over this, it's just so weird that something that should be so straightforward to troubleshoot just doesn't make sense!

stiv_marro January 21, 2021

Please let me be shure again.

So i can uninstall the plugin reminder and install it again, after testing, without loosing some work? Right?

I work now the 4th Day with jira and have to loot me trough.

The first question ist for me. am i realy the only one with this problem?

This didn't make sense for me.....

Thanks for your reply

Stiv

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2021

Hi

I'm wondering if you are using this for a financial application.

The dates translate as Due Date and Settlement Date.

Is there some functionality added to ensure Settlement Date is a fixed number of working days after Due Date?

stiv_marro January 21, 2021

HI Tom

Nope we use jira as our normal task application.

have a look. i didnt find any speciality on the project.

norules.pngtaskaufbau.pngworkflow.png

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

Hi @stiv_marro , welcome to the Community. This seems very wrong. To be clear you have a date field and when you select a date it registers in the field but you then reload the page and the dat has changed. Further it seems you are saying that the behavior depend on the actual date selected, I.e. a date beyond Jan 31. Is this correct? If automation or some sort of background action is not happening then sure seems like a bug. But TBH I’m not yet there. Can you perform further testing to zero in on the behavior? What about other date fields? Different dates?

stiv_marro January 20, 2021

Hi Jack

Thanks for your reply

Yes you're right. I have tested all the date fields. I'ts impossible to set a date after 31.1.2021!

We just have this 2 date fields: Expiry date and finishing date.

Best Wishes

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

Is it possible you are using some addon that is associated with these dates? Has this behavior changed recently? I have to imagine there is something that is constraining these dates. Have you another project you can test with or can you create one?

stiv_marro January 20, 2021

Hi Jack

We use Jira now for 1 week. So Jira is a new tool that we work with.

This problem was existing in the beginning of use.

I just created a new project and testet the same case.

I put a datefield in my task.

After i picked a date from the datepicker it registers the date right.

4_5_21.png

When i reopen the task again, the date jumped back to the actual month.

Same error in the new project

5_01_21.png

Best wishes

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

first I have removed the "Answer accepted" as I don't think you have your answer yet. you should reserve clicking that until you feel you have the final answer.

I'm scratching my head. Based on your image above it seems that you have YYYY/MM/DD format and you enter 2021/04/05 (April 5th, 2021) and then you reload the page and your date converts to 2021/01/05 (Jan 5th, 2021). If this is the case that is totally bizarre to me. If you were not on Free I would point you to support but that is not an option. Let me reach out to others to chime in here.

stiv_marro January 20, 2021

Hey Jack

I hope you didn't scratch your head to much ;)

Yes the converting of the date is realy very strange.

Many thanks for your effort in this case.

Best wishes

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

can you inspect the history tab on the issue and share what you find there?

stiv_marro January 20, 2021

Hi Jack 

Shure, have a look. 

Jira made a history for all reactions in modifying the date.

But the history only shows the "switched back" date.

best wishes

history.png

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

I guess the issue then is this? 

image.png

The strange part is that the field is adjusted on the same second and by a user. So that leads me to an automation that runs under the user who triggered it.

Are you sure there are no automation rules that are calculating a new date?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

confusing. if I look at your previous images you show a date of 2021/04/05 but do not see that in the history. So if this is indeed the same issue they your changes are not being saved. when you change a date do you then click outside of the date field? If not the change is not saved. In other words if I simply click in a date field and select a date from the calendar and, leaving the cursor in the date field, simply refresh the page then the date will revert. in short are you sure you are registering the date change? 

Test:

  • refresh the page and observe the date
  • enter a comment - "current date is yyyy/mm/dd
  • click into the date field and change the date
  • click out of the date field and observe the date
  • enter a comment - "new date is yyy/mm/dd"
  • refresh page
  • view results and send history screenshot if still observing broken behavior
Like # people like this
stiv_marro January 20, 2021

Hi guys

I tried your steps and saw, that my last changes didn't get tracked by the history:

comment_actual.pngafter_refresh.pngno_comment.png

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

i'm gonna start grasping at straws here but.. could you open up your developer console in your browser (F12 in Chrome) and when you change the date see what is going on?

If you can you can save the traffic in a .har file .. maybe we can see some errors going on there or a link to a app?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

i'm struggling following your history as I'm not observing it live and unsure how the history compares to what you entered. I don't get why I see so many date change entries but each one is tied to your user so it is either you manually making them or there is an automation running on your behalf. I don't see any date changes beyond the 1/31/2021 date either which I thought should be the test, e.g. 3/15/2021.

stiv_marro January 20, 2021

Hey guys

Thanks again for your efforts

Is it possible to upload the .har file here? 

I captured the network while opening the task, chaning the date and reopening again the task. i also made a console .log

@Jack

This task only belongs to me.

So i tried many times to make the datechange on this task. I had also to show the problem to our employes. But this problem occurs on all the tasks.

Best wishes

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 23, 2021

I was unable to access the video recording here but did so via my phone. I noted that this is a Next-gen project so my previous testing to see if I could reproduce was invalid. That said I just tried w/ NG and it works fine for me. I suggest checking on Andy's theory.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events