Speedflow Plugin Jira

Build Status Dependency Status Gem Version Code Climate Test Coverage Inline docs

:package: A Speedflow plugin to work with Jira.

How to install?

gem install speedflow-plugin-jira

How to configure?

.speedflow.yml :

---
plugins:
  - jira

# ...

jira:
  site: "{JIRA_SITE}"
  username: "{JIRA_USERNAME}"
  password: "{JIRA_PASSWORD}"

~/.zshrc or ~/.bashrc :

# Jira
export JIRA_SITE="https://xxx.atlassian.net/"
export JIRA_USERNAME="..."
export JIRA_PASSWORD="..."

How to use in my flow?

Search an issue

.speedflow.yml :

#...

flow:
  test:
    - plugin: jira
      action: search_issue

Create an issue (beta)

.speedflow.yml :

#...

flow:
  test:
    - plugin: jira
      action: create_issue
      arguments:
        title: ~
        project:
          default: TEST

Change issue assignee

.speedflow.yml :

#...

flow:
  test:
    - plugin: jira
      action: change_issue_assignee
      arguments:
        assignee:
          default: "{JIRA_USERNAME}"
        issue: ~

Change issue transition

.speedflow.yml :

#...

flow:
  test:
    - plugin: jira
      action: change_issue_transition
      arguments:
        transition: ~
        issue: ~