Sha256: 77e4449dd48cec6563b4d7e690bc90b63b20bb4f318498775e6dbce432ca475c
Contents?: true
Size: 669 Bytes
Versions: 1
Compression:
Stored size: 669 Bytes
Contents
#@author Filip Jakubowski module JiraIssues class JiraWorkflow OPEN = 'Open' IN_PROGRESS = 'InProgress' BLOCKED = 'Blocked' CLOSED = 'Closed' # This is WIP # This class should be able to map and unify: # - statuses # - workflows # - transitions # ATM - we will work onlu on defailt issue names def self.issue_status_for_name(project_key, status_name) { 'Backlog' => OPEN, 'Open' => OPEN, 'Blocked' => BLOCKED, 'In Progress' => IN_PROGRESS, 'Done' => CLOSED, 'Closed' => CLOSED }.fetch(status_name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jira-issues-0.0.4 | lib/jira_issues/jira_workflow.rb |