def get_all_entities(self): """ Get all stories, defects and tasks. :returns: A list of ``BaseRallyModel`` inherited objects. """ return Artifact.get_all()
def get_all_entities(self): """ Get all stories, defects and tasks. :returns: A list of ``BaseRallyModel`` inherited objects. """ return Artifact.get_all()
def get_entity_by_name(self, entity_name): """ Return the entity with the name ``entity_name``. :param entity_name: The YYXXX id of the story/defect/task. :returns: A ``BaseRallyModel`` inheritted object, or None if no artifacts could be found. """ return Artifact.get_by_name(entity_name)
def get_entity_by_formatted_id(self, entity_id): """ Return the entity with the id ``entity_id``. :param entity_id: The YYXXX id of the story/defect/task. :returns: A ``BaseRallyModel`` inheritted object, or None if no artifacts could be found. """ return Artifact.get_by_formatted_id(entity_id)