stable

Clone or download

Read-only

Add ability to retrieve tracker from shortname to TrackerFactory

When creating a project from a template using test management, we want to make sure we have the necessary trackers created. In some cases, we don't have access to a tracker ID but only to its possible shortname and we'd like to retrieve that tracker if it exists. This adds a method to retrieve a tracker from a project based on its shortname. request #10238 Add method to TrackerDAO to retrieve Tracker by its item_name Change-Id: I01167e92944e2f70bfbba0270b9a91624c1218d9

Modified Files

Name
M plugins/tracker/include/Tracker/TrackerFactory.class.php +15 −0 Go to diff View file
M plugins/tracker/include/Tracker/dao/TrackerDao.class.php +19 −0 Go to diff View file