-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fb1b6c
commit 7d1ea5d
Showing
2 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package request | ||
|
||
type Jira struct { | ||
Timestamp int64 `json:"timestamp"` | ||
WebhookEvent string `json:"webhookEvent"` | ||
IssueEventTypeName string `json:"issue_event_type_name"` | ||
User struct { | ||
Self string `json:"self"` | ||
Name string `json:"name"` | ||
Key string `json:"key"` | ||
EmailAddress string `json:"emailAddress"` | ||
AvatarUrls struct { | ||
Four8X48 string `json:"48x48"` | ||
Two4X24 string `json:"24x24"` | ||
One6X16 string `json:"16x16"` | ||
Three2X32 string `json:"32x32"` | ||
} `json:"avatarUrls"` | ||
DisplayName string `json:"displayName"` | ||
Active bool `json:"active"` | ||
TimeZone string `json:"timeZone"` | ||
} `json:"user"` | ||
Issue struct { | ||
ID string `json:"id"` | ||
Self string `json:"self"` | ||
Key string `json:"key"` | ||
Fields struct { | ||
CustomField11401 struct { | ||
Links struct { | ||
Web string `json:"web"` | ||
} `json:"_links"` | ||
} `json:"customfield_11401"` | ||
} `json:"fields"` | ||
} `json:"issue"` | ||
} |