Lines Matching defs:Issue
31 class BaseIssue(gdata_lib.Issue):
32 """Base issue class with the minimum data to describe a tracker bug.
37 for keys in gdata_lib.Issue.SlotDefaults.keys())
41 class Issue(BaseIssue):
43 Class representing an Issue and it's related metadata.
47 Initialize |self| from tracker issue |t_issue|
49 @param t_issue: The base issue we want to use to populate
52 @raises ProjectHostingApiException: If the tracker issue doesn't
53 contain all expected fields needed to create a complete issue.
55 super(Issue, self).__init__(t_issue)
58 # The value keyed under 'summary' in the tracker issue
75 'complete issue %s, tracker issue: %s' % (e, t_issue))
151 For a new issue interface which looks like:
183 Retrieve all updates for a given issue including comments, changes to
190 @param issue_id: The id of the issue we want detailed information on.
194 performed on this issue.
205 Gets an issue given it's id.
207 @param issue_id: A string representing the issue id.
208 @raises: ProjectHostingApiException, if failed to get the issue.
210 @return: A json formatted python dict that has the issue content.
218 'Unable to get issue %s from project %s: %s' %
243 the summary, title and id of an issue, though it searches through the
246 '123' itself may not, because the output only contains issue summaries.
315 Parse issue options and return a list of 'Cr-OS' labels.
334 logging.error('The IssueConfig field does not contain issue '
346 Convert the request body into an issue on the frontend tracker.
349 that represent the fields of the issue.
362 issue created, or an error response code and information
373 Convert the request body into an update on an issue.
389 @param issue_id: The id of the issue to update.
393 update of said issue, or an error response code and information
405 Populates a tracker issue with updates.
407 Any issue
410 information in one shot because viewing the comments on an issue
413 @param t_issue: The basic tracker issue, to populate with updates.
416 @returns: A tracker issue, with it's updates.
432 issue comments. If False the search will be restricted
458 # All valid issues will have an issue id we can use to retrieve
461 # we won't find an issue id in the returned json.
464 # bottle neck yield each issue and refactor the reporter.
470 issue = Issue(self._populate_issue_updates(t_issue))
472 issue = BaseIssue(t_issue)
474 logging.error('Unable to list the updates of issue %s: %s',
477 issue_list.append(issue)
483 Returns an issue object given the id.
485 @param issue_id: A string representing the issue id.
487 @return: An Issue object on success or None on failure.
491 return Issue(self._populate_issue_updates(t_issue))
493 logging.error('Creation of an Issue object for %s fails: %s',