Issues always marked as "changed"

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

3 answers

1 accepted

Thanks!

Thomas

This widget could not be displayed.

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

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

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

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

OK. Can you make sure that your locale setting for Task Repository in Eclipse is exactly the same as in JIRA?

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

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

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

This widget could not be displayed.

If the locale setting helps then we will definitely need to improve error handling to make this particular case more obvious.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

180 views 18 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you