aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/time_entry.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 23:08:08 +0200
committerTeddy Wing2017-06-03 23:08:08 +0200
commitd833ffe6cd5efd97b00f907ed426a88275a8c8db (patch)
treea3c902e1fdea20db4ff369459936bfba76f61176 /timetask/time_entry.go
parent8b608aa4dfdff5e1e17664cff8f2f602d326844c (diff)
downloadtimetasker-d833ffe6cd5efd97b00f907ed426a88275a8c8db.tar.bz2
Add an option to list "Modules" (sprints & their IDs)
Sprints will change with time while the other IDs of a project will stay the same. Thus sprints, which live in the `Module` field, must be updated regularly. In order to facilitate that updating, instead of requiring users to get those IDs directly from the TimeTask website every time, have them use this command to get the names of sprints and their IDs. They can then update the ID manually in their config file. This code makes a request to the endpoint that returns module IDs for the site (the site queries this via AJAX to update its interface). The result of the request is some XML containing the modules and their IDs. For now I'm just printing this out. We'll want to parse the XML and display it in a nicer way.
Diffstat (limited to 'timetask/time_entry.go')
0 files changed, 0 insertions, 0 deletions