1. 07 Nov, 2015 1 commit
  2. 06 Nov, 2015 3 commits
    • Valery Sizov's avatar
      10d8f0ae
    • Robert Speicher's avatar
      Merge branch 'improve_jira_issue_closing' into 'master' · 6381d9e1
      Robert Speicher authored
      Improve JIRA issue closing
      
      - Zendesk ticket: https://gitlab.zendesk.com/agent/tickets/11034
      
      ### Expected behavior
      
      When a merge request has 'Fixes JIRA-1234' in the description the issue should not only be transitioned but also record a comment (regardless of workflow type in JIRA).
      
      ### Observed behavior
      
      Depending on the configured workflow a comment may or may not be allowed while transitioning to a new state. In my testing the newest JIRA default workflow did not allow comments while transitioning to 'Done', for example. The 'classic' workflow does, though. 
      
      This merge request splits the transition and comment in to two API calls. The advantage is that the comment will be recorded 100% of the time instead of it being dependent on the workflow configuration.
      
      Also, JIRA returns a '204' response code when the transition is successful. I added '204' to the success conditional because we were generating an error in the current configuration even though the transition was successful.
      
      See merge request !45
      6381d9e1
    • Drew Blessing's avatar
      Improve JIRA issue closing · 5828de0a
      Drew Blessing authored
      5828de0a
  3. 05 Nov, 2015 10 commits
  4. 04 Nov, 2015 12 commits
  5. 03 Nov, 2015 14 commits