Skip to content

Commit 26a654c

Browse files
committed
Add getDueDate method for Jira_Issue
1 parent 3055d56 commit 26a654c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Jira/Issue.php

+12
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,18 @@ public function getWatchers()
296296
}
297297
}
298298

299+
/**
300+
* get due date
301+
*
302+
* @return mixed
303+
*/
304+
public function getDueDate()
305+
{
306+
if (isset($this->fields['Due Date'])) {
307+
return $this->fields['Due Date'];
308+
}
309+
}
310+
299311
/**
300312
* get information represented in call output due to expand=... suffix
301313
* @see https://docs.atlassian.com/jira/REST/latest/

0 commit comments

Comments
 (0)