cases

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cases implements the interface to the fogbugz api to pull cases using the search command. TODO:To extend the data pulled add additional columns and remove the custom fields. cols:{"sTitle,ixProject,sProject,sArea,sCategory,sFixFor,ixFixFor, cols: sStartNote,tags,plugin_customfields_at_fogcreek_com_customere1c"}}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListCases

func ListCases(token string, root *url.URL, casescsv string) map[int]Case

The last cols in the list of values are a custom fields, these might need to be removed for other users.

Types

type Case

type Case struct {
	Bug        int    `xml:"ixBug,attr"`
	Operations string `xml:"operations,attr"`
	Title      string `xml:"sTitle"`
	ProjectID  int    `xml:"ixProject"`
	Project    string `xml:"sProject"`
	Area       string `xml:"sArea"`
	FixFor     string `xml:"sFixFor"`
	FixForID   int    `xml:"ixFixFor"`
	StartNote  string `xml:"sStartNote"`
	Category   string `xml:"sCategory"`
	Customer   string `xml:"plugin_customfields_at_fogcreek_com_customere1c"`
	Tags       Tags
}

Case holds metadata about a case. Customer is a customer field and might need to be removed for other users of this software.

type Cases

type Cases struct {
	XMLName xml.Name `xml:"cases"`
	Count   string   `xml:"count,attr"`
	Case    []Case   `xml:"case"`
}

Cases holds the count of cases and the cases.

type Response

type Response struct {
	XMLName xml.Name `xml:"response"`
	Cases   Cases
}

Response contains the array of intervals.

type Tags

type Tags struct {
	XMLName xml.Name `xml:"tags"`
	Tag     []string `xml:"tag"`
}

Tags holds all the tags assigned to a case.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL