Class: Fastlane::Actions::SqCiToolsYandexTrackerUpdateIssueAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::SqCiToolsYandexTrackerUpdateIssueAction
- Defined in:
- lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(_) ⇒ Boolean
- .return_type ⇒ Object
- .return_value ⇒ Object
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
60 61 62 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 60 def self. ['Semen Kologrivov'] end |
.available_options ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 28 def self. [ FastlaneCore::ConfigItem.new( key: :issue_id, description: 'Is of edited issue', optional: false, type: String, ), FastlaneCore::ConfigItem.new( key: :query, description: 'Query params for find issues', optional: true, default_value: {}, type: Hash, ), FastlaneCore::ConfigItem.new( key: :body, description: 'Body for update issue', optional: false, type: Hash, ) ] + Options::YandexApi. + Options::YandexTracker. end |
.description ⇒ Object
20 21 22 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 20 def self.description 'Update issue in Yandex Tracker' end |
.details ⇒ Object
24 25 26 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 24 def self.details '' end |
.is_supported?(_) ⇒ Boolean
64 65 66 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 64 def self.is_supported?(_) true end |
.return_type ⇒ Object
52 53 54 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 52 def self.return_type :hash end |
.return_value ⇒ Object
56 57 58 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 56 def self.return_value 'Updated issue' end |
.run(params) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_yandex_tracker_update_issue_action.rb', line 10 def self.run(params) Helper::SqCiToolsYandexTrackerHelper.update_issue( issue_id: params[:issue_id], query: params[:query], body: params[:body], organization_id: params[:organization_id], iam_token: params[:iam_token] ) end |