Class: Jira::Command::New
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/jira/commands/new.rb', line 14 def run return if .empty? return if project.empty? return if .empty? components # Select components if any after a project return if issue_type.empty? return if assign_parent? && parent.empty? return if summary.empty? api.post 'issue', params: params, success: on_success, failure: on_failure end |