Skip to content

Commit a96f6dd

Browse files
authored
Merge pull request #410 from armosec/jira/jira_integrations
uniq id to support multi jira
2 parents a75e134 + 0c720d5 commit a96f6dd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

armotypes/integrationtypes.go

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const (
88

99
type Ticket struct {
1010
GUID string `json:"guid,omitempty"` //ticket guid in armo
11+
IntegrationID string `json:"integrationID,omitempty"`//integration guid in armo
1112
TicketManager TicketManager `json:"ticketManager"` //ticket service provider
1213
Owner map[string]string `json:"owner,omitempty"` //armo entity that owns the ticket
1314
Subjects []map[string]string `json:"subjects,omitempty"` //armo entities mentioned in the ticket

notifications/collaborationconfig.go

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ type CollaborationConfig struct {
6363
// Example: jira
6464
Provider ChannelProvider `json:"provider,omitempty" bson:"provider,omitempty"`
6565

66+
// Integration ID for supporting multiple integrations to jira
67+
IntegrationID string `json:"IntegrationID,omitempty" bson:"integrationID,omitempty"`
68+
6669
// Host name for private hosting
6770
// Example: http://example.com
6871
HostName string `json:"hostName,omitempty" bson:"hostName,omitempty"`

0 commit comments

Comments
 (0)