#
def create
verify_post_request
- access_denied unless has_role?(:admin)
require_parameters :project, :name
result = Internal.issues.createActionPlan(params)
#
def delete
verify_post_request
- access_denied unless has_role?(:admin)
require_parameters :key
result = Internal.issues.deleteActionPlan(params[:key])
#
def update
verify_post_request
- access_denied unless has_role?(:admin)
- require_parameters :key
+ require_parameters :key, :name
result = Internal.issues.updateActionPlan(params[:key], params)
render_result(result)
#
def close
verify_post_request
- access_denied unless has_role?(:admin)
require_parameters :key
result = Internal.issues.closeActionPlan(params[:key])
#
def open
verify_post_request
- access_denied unless has_role?(:admin)
require_parameters :key
result = Internal.issues.openActionPlan(params[:key])