ID is the ID of the project field.
()
| 977 | |
| 978 | // ID is the ID of the project field. |
| 979 | func (p ProjectField) ID() string { |
| 980 | if p.TypeName == "ProjectV2Field" { |
| 981 | return p.Field.ID |
| 982 | } else if p.TypeName == "ProjectV2IterationField" { |
| 983 | return p.IterationField.ID |
| 984 | } else if p.TypeName == "ProjectV2SingleSelectField" { |
| 985 | return p.SingleSelectField.ID |
| 986 | } |
| 987 | return "" |
| 988 | } |
| 989 | |
| 990 | // Name is the name of the project field. |
| 991 | func (p ProjectField) Name() string { |
no outgoing calls
no test coverage detected