Name is the name of the project field.
()
| 986 | |
| 987 | // Name is the name of the project field. |
| 988 | func (p ProjectField) Name() string { |
| 989 | if p.TypeName == "ProjectV2Field" { |
| 990 | return p.Field.Name |
| 991 | } else if p.TypeName == "ProjectV2IterationField" { |
| 992 | return p.IterationField.Name |
| 993 | } else if p.TypeName == "ProjectV2SingleSelectField" { |
| 994 | return p.SingleSelectField.Name |
| 995 | } |
| 996 | return "" |
| 997 | } |
| 998 | |
| 999 | // Type is the typename of the project field. |
| 1000 | func (p ProjectField) Type() string { |
no outgoing calls
no test coverage detected