在我的web_api页面(EX:http://'my-site-name'/ web_api / api / issues)我找不到任何用于创建问题的API。我可以看到其他api,如分配/取消分配问题,api / issues / add_comment,api / issues / delete_comment等。 尝试以下方法时,我收到了这样的错误消息 curl -X POST -v -u admin:admin'http://localhost:9000/api/issues/create?component=myproject:myfile&rule=manual:performance&line=2&severity=BLOCKER&message=blabla'
{“err_code”:404,“err_msg”:“没有操作响应创建。操作:操作,add_comment,admin_required,授权?,available_locales,bulk_change,changelog,current_user,current_user =,delete_comment,edit_comment,error_to_json,error_to_xml ,format_datetime,handle_remember_cookie!has_role ?, is_admin ?, is_user ?, java_facade,json_not_supported,JSONP,kill_remember_cookie!load_resource,LOGGED_IN ?, login_from_basic_auth,login_from_cookie,login_from_session,login_required,logout_keeping_session!logout_killing_session!parse_datetime,redirect_back_or_default,render_access_denied,render_bad_request ,render_error,render_java_exception,render_not_found,render_response,render_success,resource_required,select_authorized,send_remember_cookie!,store_location,text_not_supported,transitions,valid_remember_cookie?和xml_not_supported“}