Class: Jira::Command::New
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/jira/commands/new.rb', line 16 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? return if description.empty? api.post 'issue', params: params, success: on_success, failure: on_failure end |