Closed mingalll closed 6 years ago
I see you are using the 2017.4 connector for a 2018.2 YouTrack version. Could you please go to the settings and switch the Youtrack Version to "2018.1 or newer". Let me know if that resolves the connection issues
Edit: nevermind, you propably already have it set to "2018.1 or newer", right? I'll have to look into it. Might take a while to setup a 2018.2 version for me to test. I'll get back to you when I have news
Just a quick heads-up: YouTrack yet again changed the backend quite a lot and for now I still haven't found a way to work around it. I actually would like to ditch the whole CSV downloading part and there is a way to search issues by the time tracking date. But this field for the search is localized, so it is named differently in english and german for example. Unfortunately I have not found a way to query the name of the field to then use it in a query. I will dig further and see if I can make it work soon
There is a YouTrack Ticket for that now: https://youtrack.jetbrains.com/issue/JT-47943
But I'm also trying to find a workaround until the ticket gets resolved
The issue at youtrack has been resolved, unfortunately we have to wait for them to release a version, where the fix is included. When that happens, I myself can release a new worklog viewer version, compatible with it.
I just released version 2.4.0. in which there is a workaround included. Please read the corresponding wiki page carefully.
https://github.com/pbauerochse/youtrack-worklog-viewer/releases/tag/2.4.0
Let me know if everything works
It is working again, thank you. But now the Group By dropdown is empty.
@mingalll could you restart the worklog viewer once more? I suspect the group by is empty, when you change the youtrack version in the backend. Let me know if it works. If not, could you please check Help > Log Messages and tell me if there is an Exception in there?
Got this error when starting the application, but it works normally when I try to get a report.
09:40:24.111 [JavaFX Application Thread] WARN d.p.w.fx.tasks.TaskRunner - Showing error to user com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'jetbrains.charisma.customfields.parser.CustomFilterField' as a subtype of [simple type, class de.pbauerochse.worklogviewer.connector.v2018.domain.groupby.GroupingField]: known type ids = [jetbrains.charisma.keyword.CustomFilterField, jetbrains.charisma.keyword.PredefinedFilterField, jetbrains.charisma.smartui.report.time.GroupByTypes] at [Source: (String)"[{"presentation":"project","id":"project","sortable":true,"aggregateable":false,"name":"project","$type":"jetbrains.charisma.keyword.PredefinedFilterField"},{"projects":[{"name":"App - Facens","id":"0-1","$type":"jetbrains.charisma.persistent.Project"},{"name":"App - Quiz Enade Newton Paiva","id":"0-3","$type":"jetbrains.charisma.persistent.Project"},{"name":"IAS - Game EducaSim","id":"0-5","$type":"jetbrains.charisma.persistent.Project"},{"name":"Game - Canvas Quest","id":"0-7","$type":"jetbrai"[truncated 32105 chars]; line: 1, column: 4265] (through reference chain: java.util.ArrayList[1]) at com.fasterxml.jackson.databind.exc.InvalidTypeIdException.from(InvalidTypeIdException.java:43) at com.fasterxml.jackson.databind.DeserializationContext.invalidTypeIdException(DeserializationContext.java:1628) at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownTypeId(DeserializationContext.java:1186) at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._handleUnknownTypeId(TypeDeserializerBase.java:291) at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:162) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:113) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:97) at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:254) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:288) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3011) at de.pbauerochse.worklogviewer.connector.v2018.Connector.getGroupByParameters(Connector.kt:39) at de.pbauerochse.worklogviewer.fx.tasks.GetGroupByCategoriesTask.start(GetGroupByCategoriesTask.java:41) at de.pbauerochse.worklogviewer.fx.tasks.GetGroupByCategoriesTask.start(GetGroupByCategoriesTask.java:20) at de.pbauerochse.worklogviewer.fx.tasks.WorklogViewerTask.call(WorklogViewerTask.kt:21) at javafx.concurrent.Task$TaskCallable.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 09:40:30.405 [JavaFX Application Thread] DEBUG d.p.w.fx.MainViewController - Showing log messages dialogue
Can you try again with version 2.4.1 please
https://github.com/pbauerochse/youtrack-worklog-viewer/releases/tag/2.4.1
Working like a charm, thank you again!!
Glad to hear that :)
I noticed that YouTrack just updated to the version 2018.2. Now whenever I try to generate the worklog it gives me an error. Here is the Log from the application: