URL is the URL of the project item. Note the draft issues do not have URLs
()
| 628 | |
| 629 | // URL is the URL of the project item. Note the draft issues do not have URLs |
| 630 | func (p ProjectItem) URL() string { |
| 631 | switch p.Content.TypeName { |
| 632 | case "Issue": |
| 633 | return p.Content.Issue.URL |
| 634 | case "PullRequest": |
| 635 | return p.Content.PullRequest.URL |
| 636 | } |
| 637 | return "" |
| 638 | } |
| 639 | |
| 640 | func (p ProjectItem) ExportData(_ []string) map[string]interface{} { |
| 641 | v := map[string]interface{}{ |
no outgoing calls
no test coverage detected