This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 92626 [details] Data Time Format configuration of the jira server. When I use the "Update Issue" feature of the commit dialog, and enable the "Resolve as Fixed" and "Add details to commit message and issue". I get the following message: The jira issue tracker 'jira' returned the following response: Invalid date format. Please enter the date in the format "d/MMM/yy". The commit to mercurial works but no comment or action is done in jira. I think that the jira plugin is sending dates in a different format from the managed by the server but I couldn't find where to configure this in the plugin. Changing the date format in the Jira server is not an option. Attached to this issue is an image of the Date/Time Formats in my Jira server.
custom date formates aren't supported yet.
I have the same problem and is very frustrating. What is the date format in Jira for Netbeans works until it supports the date format settings?
The date/time configuration on the attached screen shot seems to be the default one. The root of your problem probably is not the date/time format but the locale. Note that the default date/time format contains the name of the month. It seems that NetBeans send the name in a different language then the one accepted by your JIRA. I was able to reproduce this issue when I changed the language of my JIRA account to non-English one. guinsel, is this also your case? What is the languange setting of your JIRA account?
Jan you are right. I changed the setup from Spanish to English and it works. I had Jira Netbeans and Spanish. Netbeans now continuing in Spanish but in English Jira
Unfortunately, we are not able to get the correct locale from the server. I will implement a workaround that allow you to set the correct locale manually, i.e., you will not be forced to switch your JIRA account to English with that workaround. Unfortunately, it is too late to do any UI changes in NetBeans 6.9. Hence, I will add a command line switch that will allow you to set the locale and we will add the corresponding graphical UI in the next release.
I have added the mentioned workaround. You can set the JIRA locale used by NetBeans IDE by setting "org.netbeans.modules.jira.locale" system property. For example, you can set this property using command line option -J-Dorg.netbeans.modules.jira.locale=<your-locale> We will attempt to add the possibility to set the locale in GUI, see issue 183914. Modified file: http://hg.netbeans.org/cdev/rev/2391a4506b86
I tried to configure netbeans.conf file putting -J-Dorg.netbeans.modules.jira.locale="yyyy-MM-dd HH:mm:ss" option there but i still get error message: ---------- You did not enter a valid date. Please enter the date in the format "yyyy-MM-dd", eg. "2010-12-23"Invalid date format. Please enter the date in the format "yyyy-MM-dd".Invalid date / time format. Expected yyyy-MM-dd HH:mm:ss ---------- Is there any way to get this work?
> I tried to configure netbeans.conf file putting > -J-Dorg.netbeans.modules.jira.locale="yyyy-MM-dd HH:mm:ss" Note that this property is used to set _locale_ (e.g., en_US, fr_CA, etc.), not format. So, this issue is just about modification of locale. It is not about custom formats. I believe that the custom formats are still not supported, see Tomas Stupka's comment above.