From 26a654c8f03c080d0949a7ff691c053ddffff15f Mon Sep 17 00:00:00 2001 From: Dmitry Davydov Date: Wed, 23 Jul 2014 13:58:05 +0600 Subject: [PATCH] Add getDueDate method for Jira_Issue --- Jira/Issue.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Jira/Issue.php b/Jira/Issue.php index 11bc909..f621846 100644 --- a/Jira/Issue.php +++ b/Jira/Issue.php @@ -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/