Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transition issue #358

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jun 20, 2020

  1. Merge pull request #1 from sumoheavy/master

    Updating master from sumoheavy
    peterbell215 authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    346e3fa View commit details
    Browse the repository at this point in the history
  2. This updates the REST API used to pull sprint details

    Was using Grasshopper.  Switched to using the newer agile API.  Ran all RSpecs and they pass.  Does away with the need to query rapidView.
    trapeze-bell-peter committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    9cbccb9 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2020

  1. Fix Issue Transition

    I found two issues when trying to use jira-ruby to transition an issue:
    
    1)  The example provided in the example.rb file does not work.  What one needs
    is a list of available transitions given the current state of the JIRA.  issue.transitions.all does this.  It provides an array that
    one can then look through to find the appropriate Id of the transition one wants to make.
    
    2) Transition was using the default Base#save.  However this does not generate the correct URL.  It generates a URL in the form PUT  https://jira-hostt/rest/api/2/issue/13322/transitions/34 with a JSON payload.  What JIRA requires  is a URL of the form: POST https://jira-hostt/rest/api/2/issue/13322/transitions with the correct JSON payload.   This commit fixes this issue.
    trapeze-bell-peter committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    24d4f0b View commit details
    Browse the repository at this point in the history