Skip to content

Commit

Permalink
Add getDueDate method for Jira_Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvdmt committed Jul 23, 2014
1 parent 3055d56 commit 26a654c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Jira/Issue.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,18 @@ public function getWatchers()
}
}

/**
* get due date
*
* @return mixed
*/
public function getDueDate()
{
if (isset($this->fields['Due Date'])) {
return $this->fields['Due Date'];
}
}

/**
* get information represented in call output due to expand=... suffix
* @see https://docs.atlassian.com/jira/REST/latest/
Expand Down

0 comments on commit 26a654c

Please sign in to comment.