Redmine Integration

Tatiana Burak, geändert vor 7 Jahren.

Redmine Integration

Youngling Beiträge: 4 Beitrittsdatum: 21.10.16 Neueste Beiträge
Hi,

I cannot authenticate to Redmine when trying to link issue. Username and password is definitely correct and url really exists. URL is accessible without proxy.


Envinroment:
Klaros Community Edition version 4.5.5, installed on Ubuntu,

Environment:
Redmine version 3.3.1.stable.15910
Ruby version 2.2.0-p0 (2014-12-25) [x86_64-linux]
Rails version 4.2.7.1
Environment production
Database adapter Mysql2
Redmine plugins:
progressive_projects_list 3.0.1
recurring_tasks 2.0.0-pre
redmine_agile 1.4.0
redmine_bootstrap_kit 0.2-devel
redmine_contacts 4.0.4
redmine_contacts_helpdesk 3.0.3
redmine_highlightjs 1.0.3
redmine_import_issues 1.0.0
redmine_jenkins 1.0-devel
redmine_knowledgebase 3.2.1
redmine_materials 0.1.5
redmine_mylyn_connector 2.8.2.stable
redmine_scm_hookhelpers 0.0.1
redmine_track_control 1.1.0
redmine_wiki_lists 0.0.6

In redmine
"Authentication is required" option is true
"Enable REST web service" option is true

Log message in Klaros:

ERROR    15:50:35    

Redmine authentication failed (wrong user name or password).
ERROR15:50:35

Unexpected error: net.sf.redmine_mylyn.core.RedmineStatusException: net.sf.redmine_mylyn.api.exception.RedmineApiHttpStatusException: Unexpected status code - 404
ERROR15:50:26

Redmine authentication failed (wrong user name or password).
ERROR15:50:26

Unexpected error: net.sf.redmine_mylyn.core.RedmineStatusException: net.sf.redmine_mylyn.api.exception.RedmineApiHttpStatusException: Unexpected status code - 404


Log message in redmine:

Started GET "/mylyn/customfields" for 127.0.0.1 at 2016-10-21 13:50:25 +0000
Processing by MylynConnector::CustomFieldsController#all as XML
  Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 15ms (ActiveRecord: 2.7ms)
Started GET "/mylyn/customfields" for 127.0.0.1 at 2016-10-21 13:50:25 +0000
Processing by MylynConnector::CustomFieldsController#all as XML
  Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 13ms (ActiveRecord: 1.0ms)
Started GET "/mylyn/customfields" for 127.0.0.1 at 2016-10-21 13:50:25 +0000
Processing by MylynConnector::CustomFieldsController#all as XML
  Current user: klarostest (id=185)
  Rendered plugins/redmine_mylyn_connector/app/views/mylyn_connector/custom_fields/all.xml.builder (10.7ms)
Completed 200 OK in 29ms (Views: 10.5ms | ActiveRecord: 12.3ms)
Started GET "/mylyn/trackers" for 127.0.0.1 at 2016-10-21 13:50:25 +0000
Processing by MylynConnector::TrackersController#all as XML
  Current user: klarostest (id=185)
Completed 404 Not Found in 47ms (ActiveRecord: 12.7ms)

ActiveRecord::RecordNotFound (Couldn't find Tracker with 'id'=all):
  plugins/redmine_mylyn_connector/app/controllers/mylyn_connector/trackers_controller.rb:11:in `all'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

I used redmine user "klarostest" to connect.
URL in setup is https://redmine.megazebra.com/

We are trying Klaros community to feel if it can supply our needs. Redmine integration is the most important feature for us at the moment.

Thanks,
Tatiana
thumbnail
Torsten Stolpmann, geändert vor 7 Jahren.

RE: Redmine Integration

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Tatjana,

can you please add a screenshot of the Klaros issue management system entry?

Regards,

Torsten
Tatiana Burak, geändert vor 7 Jahren.

RE: Redmine Integration

Youngling Beiträge: 4 Beitrittsdatum: 21.10.16 Neueste Beiträge
Hi Torsten,

Do you mean this:



Best,
Tatiana
thumbnail
Torsten Stolpmann, geändert vor 7 Jahren.

RE: Redmine Integration

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Yes, looks ok for me.

I really suspect the plugin fork you are using.

Cheers,

Torsten
Tatiana Burak, geändert vor 7 Jahren.

RE: Redmine Integration

Youngling Beiträge: 4 Beitrittsdatum: 21.10.16 Neueste Beiträge
ok, thanks
I will check plugin fork and come back to you with results
Tatiana Burak, geändert vor 7 Jahren.

RE: Redmine Integration

Youngling Beiträge: 4 Beitrittsdatum: 21.10.16 Neueste Beiträge
Govind Mantri, geändert vor 7 Jahren.

RE: Redmine Integration

Youngling Beitrag: 1 Beitrittsdatum: 30.03.17 Neueste Beiträge
Hi Tatiana 
This new mylyn connect worked like charm to connect with redmine but still we are facing a problem while reporting issue.. it is saying "Provided data are insufficient." ? any clue if you came across same..
Thanks
thumbnail
Torsten Stolpmann, geändert vor 7 Jahren.

RE: Redmine Integration

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Govind,

Did you check if all mandatory fields are filled properly?
Anything unusual in your mandatory fields defined for the project you are working with?

Regards,

Torsten
thumbnail
Torsten Stolpmann, geändert vor 7 Jahren.

RE: Redmine Integration (Antwort)

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi again Tatjana,

Did you make sure you have a Mylyn Connector Plugin installed that is actually supporting Redmine 3?

There are several forks available on GitHub, you should be using at least https://github.com/joaopedrotaveira/redmine_mylyn_connector or perhaps even https://github.com/yukoff/redmine_mylyn_connector. Sadly the fork maintainers are not releasing the plugins under new versions.

Please let me know if this works for you,

Torsten
thumbnail
Torsten Stolpmann, geändert vor 1 Jahr.

RE: Redmine Integration

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Quick reminder: As of Klaros version 4.12 the native Redmine API is used and the installation of a Redmine plugin is no longer required.