Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem API create Issue #42

Open
mjmoralesg opened this issue Apr 4, 2017 · 0 comments
Open

Problem API create Issue #42

mjmoralesg opened this issue Apr 4, 2017 · 0 comments

Comments

@mjmoralesg
Copy link

When I create an issue through the REDMINE API, it gives me the following error
Processing by IssuesController#create as JSON
Parameters: {"key"=>"a70a7b30d1155d4e536c128e0723dd764a319a81", "issue"=>{"project_id"=>"65", "tracker_id"=>"2", "status_id"=>"1", "priority_id"=>"2", "custom_field_values"=>[{"id"=>"2", "value"=>"Todas"}, {"id"=>"5", "value"=>"2017031096000014"}, {"id"=>"6", "value"=>"http://sgsdesarrollo.epa.com/otrs/index.pl?Action=AgentTicketZoom;TicketID=90876"}], "subject"=>"[Ticket#2017031096000014] test", "category_id"=>"52", "parent_issue_id"=>"6", "estimated_hours"=>"1"}}
Current user: otrs (id=143)
Completed 500 in 3495ms (ActiveRecord: 37.0ms)

NoMethodError (undefined method flatten' for nil:NilClass): plugins/redmine_track_control/lib/redmine_track_control/issues_controller_patch.rb:57:in get_tracker_ids'
plugins/redmine_track_control/lib/redmine_track_control/issues_controller_patch.rb:43:in `build_new_issue_from_params_with_trackcontrol'

. When removing the plugins works perfectly, what could it be?

I have redmine 3.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant