Code Monkey home page Code Monkey logo

rtc2jira's People

Contributors

dependabot[bot] avatar gustafhansen avatar romixch avatar wtfjoke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rtc2jira's Issues

When imported the code throws an errror

Hi Team,
When i import the project in the eclipse and add the user library as mentioned, the code has an error as following:

ODocument cannot be resolved to a type.

Please let me know if something has to be done from my end or is there anything which you guys can support

Connect git <-> JIRA

If we migrate an RTC project with WorkItems and source code with rtc2jira and rtc2git we would like to see a connection between commits and WorkItems.

Filter by project area

Allow optional filtering of project area. This enables us to migrate specific project areas into corresponding jira projects.

Keep RTC WorkItem ID in JIRA

We hope to be able to keep the RTC WorkItem ID in JIRA so that we can link from git repositories to the JIRA issue without a mapping file that maintains RTC IDs and JIRA IDs. Anyway it is easier for people to have the same numbers in JIRA too so they don't need to wrap their heads around the migration logic.

Trim properties

To avoid mistakes while configuring we want to trim properties.

Let exporters run multiple times

Make it possible to run exporter multiple times.

To do that we need:

  • set a exporttimestamp after export on the table workitems
  • if exporttime is older than modifieddate (from rtc) --> do update
  • if exporttime is not set --> do create
  • if exporttime is newer than modifieddate (from rtc) --> do nothing

For testing purposes we need to have a setting force.export. When we set this value to true, it triggers always an export (create?), even if the exporttime is newer than modifieddate.

Error when running the main class

Hi Team,
When i run my main class i am getting the following error. Please let me know if you can help me in resolving this..

2020-04-10 09:57:48:540 INFO OrientDB Server shutdown complete [OServer]Exception in thread "main" com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@da5d5e1; line: 1, column: 256977] (through reference chain: to.rtc.rtc2jira.exporter.jira.entities.IssueSearchResult["issues"]->to.rtc.rtc2jira.exporter.jira.entities.Issue["fields"]->to.rtc.rtc2jira.exporter.jira.entities.IssueFields["customfield_10008"])
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
at to.rtc.rtc2jira.exporter.jira.entities.IssueSearch.run(IssueSearch.java:36)
at to.rtc.rtc2jira.exporter.jira.JiraExporter.ensureWorkItemWithId(JiraExporter.java:168)
at to.rtc.rtc2jira.exporter.jira.JiraExporter.createOrUpdateItem(JiraExporter.java:152)
at to.rtc.rtc2jira.ExportManager.export(ExportManager.java:65)
at to.rtc.rtc2jira.Main.main(Main.java:22)
Caused by: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@da5d5e1; line: 1, column: 256977] (through reference chain: to.rtc.rtc2jira.exporter.jira.entities.IssueSearchResult["issues"]->to.rtc.rtc2jira.exporter.jira.entities.Issue["fields"]->to.rtc.rtc2jira.exporter.jira.entities.IssueFields["customfield_10008"])
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219)
at org.codehaus.jackson.map.deser.std.StringDeserializer.deserialize(StringDeserializer.java:44)
at org.codehaus.jackson.map.deser.std.StringDeserializer.deserialize(StringDeserializer.java:13)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)
at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:194)
at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:30)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1308)
at org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:419)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:634)
... 6 more

Problems while transitioning issue

I'm having trouble getting the Status set correctly on my JIRA issues.

This is probably due to custom Statuses/Workflows that we have created in RTC, but I'm looking for guidance as to how to re-create those workflows in JIRA and what to modify in Java classes and/or settings.properties to set them correctly.

I am recieving this error message:

SEVER Problems while transitioning issue: {"errorMessages":["It seems that you have tried to perform a workflow operation (inprogressToDone) that is not valid for the current state of this issue (RTCJIR-1602).

The error message is valid. The 'Dummy' issue is created as TO DO, therefore it cannot complete the inprogressToDone transition.

I also noticed that someone else has had this exact problem on your end (possibly commited by accident?), and I'm wondering if anyone figured it out: https://github.com/rtcTo/rtc2jira/blob/master/DefaultExportLog.log

to.rtc.rtc2jira.exporter.jira.JiraExporter doTransition SCHWERWIEGEND: Problems while transitioning issue: {"errorMessages":["It seems that you have tried to perform a workflow operation (OpenToDone) that is not valid for the current state of this issue (WOR-25705).

Also wanted to add that this tool is working better than my team and I expected, aside from this issue, so thanks to all who have contributed!

Errors while running rtc2jira

2018-01-11 18:47:01:426 INFO OrientDB Engine shutdown complete [Orient]
2018-01-11 18:47:01:426 INFO OrientDB Server shutdown complete [OServer]Exception in thread "main" com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class to.rtc.rtc2jira.exporter.jira.entities.Project, and Java type class to.rtc.rtc2jira.exporter.jira.entities.Project, and MIME media type text/html; charset=UTF-8 was not found
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
at to.rtc.rtc2jira.exporter.jira.JiraRestAccess.get(JiraRestAccess.java:59)
at to.rtc.rtc2jira.exporter.jira.JiraExporter.getProject(JiraExporter.java:447)
at to.rtc.rtc2jira.exporter.jira.JiraExporter.initialize(JiraExporter.java:139)
at to.rtc.rtc2jira.ExportManager.export(ExportManager.java:55)
at to.rtc.rtc2jira.Main.main(Main.java:22)

Document the addition of all issue types

The target JIRA project should have all issue types added.
If not, the creation of a dummy issue fails with a NullPointer.
We could fail more gracefully in this case.

Update all standard fields to JIRA

The standard fields coming from Bluemix should be saved in JIRA. So we can put both RTC WorkItem and JIRA Issue side by side and find all necessary fields on both ends.

Can we migrate RTC sourcecode and workitems at the same time

Hi, we do have RTC to manage source code in one project area and workitems in another project area. And we do have linked code commits with workitems. Does this tool handle this migration by having that links between source code and workitem info intact. Please give me the suggestions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.