URL is the URL of the project item. Note the draft issues do not have URLs
()
| 661 | |
| 662 | // URL is the URL of the project item. Note the draft issues do not have URLs |
| 663 | func (p ProjectItem) URL() string { |
| 664 | switch p.Content.TypeName { |
| 665 | case "Issue": |
| 666 | return p.Content.Issue.URL |
| 667 | case "PullRequest": |
| 668 | return p.Content.PullRequest.URL |
| 669 | } |
| 670 | return "" |
| 671 | } |
| 672 | |
| 673 | func (p ProjectItem) ExportData(_ []string) map[string]any { |
| 674 | v := map[string]any{ |
no outgoing calls
no test coverage detected