andygrunwald / andygrunwald/go-jira

attachments created by PostAttachment method cannot be viewed by customers

Đang mở
#616 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
1.6k
Fork
500
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## What would you like to be added?
- IssueService method PostAttachment creates attachment which cannot be viewed by customers. It would be nice to be able to set visibility for customer also (maybe even as default). (This exists for comments based on role. Default is public for customer).
- Attachment Type has no visibility field
```
type Attachment struct {
Self string `json:"self,omitempty" structs:"self,omitempty"`
ID string `json:"id,omitempty" structs:"id,omitempty"`
Filename string `json:"filename,omitempty" structs:"filename,omitempty"`
Author *User `json:"author,omitempty" structs:"author,omitempty"`
Created string `json:"created,omitempty" structs:"created,omitempty"`
Size int `json:"size,omitempty" structs:"size,omitempty"`
MimeType string `json:"mimeType,omitempty" structs:"mimeType,omitempty"`
Content string `json:"content,omitempty" structs:"content,omitempty"`
Thumbnail string `json:"thumbnail,omitempty" structs:"thumbnail,omitempty"`
}
```

## Why is this needed?
Most tickets are created through the Jira Portal. It stands to reason, that any work processed for a ticket that produces an attachment result should be visible to the reporter.

## Anything else we need to know?
N/A

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.