I started using the eclipse connector using Jaira 3.x holding the issues. This worked fine.
A few weeks ago we upgraded the server to Jira 4.4.x. Since then the issues in my eclipse task list get marked as "has updates" every time the connector connects to the server. But in fact the issues where not updated on server side.
The version of the eclipse connector is 3.0.0.v20110210. I could not find a newer version.
How can I stop the connector marking issues as "changed"?
bye
Thomas
Raised an issue https://studio.atlassian.com/browse/PLE-1325
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the locale setting helps then we will definitely need to improve error handling to make this particular case more obvious.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Thoms,
Can you explain step by step your case and the outcome you get?
I testes Connector 3.0.1 and Mylyn 3.6 with the JIRA 4.4.1 and it works fine on my side.
Cheers,
Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basicly I did nothing. ;o)
As I wrote I first connected to our 3.x Jira server. At that time the issues got marked "changed" onl if there was a change at the server side.
When we upgraded the server I did not changte anything on my eclipse plug in. But since then all of my items get marked "changed" every time the plugin connects to the server.
What come to my mind is: has the date format changed that the server uses to report last changed date to clients?
bye
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it loos my assumption is right.
from the eclipse-log:
!ENTRY com.atlassian.connector.eclipse.internal.jira.core 2 0 2011-09-07 15:42:24.853
!MESSAGE Error parsing date: "Do, 21 Apr 2011 15:41:13 +0200"
!STACK 0
java.text.ParseException: Unparseable date: "Do, 21 Apr 2011 15:41:13 +0200"
at java.text.DateFormat.parse(Unknown Source)
at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssHandler.convertToDate(JiraRssHandler.java:841)
at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssHandler.startElement(JiraRssHandler.java:512)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
...
bye
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK. Can you make sure that your locale setting for Task Repository in Eclipse is exactly the same as in JIRA?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dunno how to do that.
In the advanced configuration section of the repository settings I can only set the Locale and the Date/Time Picker format.
The locale is the same I configured with my account at our Jira server.
Changing the Date/Time Picker format didn't help. (And feld somewhat strange...)
bye
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have checked the code and we use US locale to parse date and time:
private final SimpleDateFormat XML_DATE_FORMAT = new SimpleDateFormat("E, dd MMM yyyy HH:mm:ss Z (zz)", Locale.US);
The solution would be to switch your JIRA to use Locale.US by default. Please try to change defaut JIRA language to US and let me know if that helps. If not then I will try to reproduce the problem locally and find the solution.
Cheers,
Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not able to change the Locale setting of our Jira server and I'm pretty sure our admins will not cooperate since currently I'm the only one (of 300) using Eclipse connector.
I think this a standard situation...
bye
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it looks like my assumption is right.
from the eclipse-log:
!ENTRY com.atlassian.connector.eclipse.internal.jira.core 2 0 2011-09-07 15:42:24.853
!MESSAGE Error parsing date: "Do, 21 Apr 2011 15:41:13 +0200"
!STACK 0
java.text.ParseException: Unparseable date: "Do, 21 Apr 2011 15:41:13 +0200"
at java.text.DateFormat.parse(Unknown Source)
at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssHandler.convertToDate(JiraRssHandler.java:841)
at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssHandler.startElement(JiraRssHandler.java:512)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
...
bye
Thomas