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