SOAP question

Discuss problems installing or using TrackStudio.

SOAP question

Postby rene04 » Mon Oct 16, 2006 3:53 pm

hi,

how can i get Full Path from a specified task?


Code: Select all
TaskBean tb = m_devPack.getTaskService().findTaskByNumber(m_sessionId, taskNumber);
         
         map.put("Alias", tb.getShortname());
         map.put("Category", m_devPack.getFindService().findCategoryById(m_sessionId, tb.getCategoryId()).getName());
         map.put("Status", m_devPack.getFindService().findStatusById(m_sessionId, tb.getStatusId()).getName());
         map.put("Priority", m_devPack.getFindService().findPriorityById(m_sessionId, tb.getPriorityId()).getName());
         String date = df.format(new Date(tb.getSubmitdate()));
         System.out.println("DATE: " + tb.getSubmitdate());
         map.put("SubmitDate", date);
         map.put("Kurzbeschreibung", tb.getName());
         map.put("Beschreibung", tb.getDescription());


rene
rene04
 
Posts: 940
Joined: Wed Oct 20, 2004 5:02 pm
Location: Kaiserslautern, Germany

Return to TrackStudio Support

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron