Skip to content

Commit

Permalink
🎨 jira_project.go edited.
Browse files Browse the repository at this point in the history
1. Added the LeadAccountID tag under ProjectUpdateScheme.

2. Ordered the ProjectUpdateScheme struct tags.

3. Fixed #290
  • Loading branch information
ctreminiom committed Aug 11, 2024
1 parent ccaea55 commit 2518f57
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pkg/infra/models/jira_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,20 @@ type TeamManagedProjectScopeScheme struct {

// ProjectUpdateScheme represents the update scheme for a project in Jira.
type ProjectUpdateScheme struct {
NotificationScheme int `json:"notificationScheme,omitempty"` // The ID of the notification scheme for the project.
Description string `json:"description,omitempty"` // The description of the project.
Lead string `json:"lead,omitempty"` // The lead of the project.
URL string `json:"url,omitempty"` // The URL of the project.
ProjectTemplateKey string `json:"projectTemplateKey,omitempty"` // The key of the project template for the project.
AssigneeType string `json:"assigneeType,omitempty"` // The type of assignee for the project.
AvatarID int `json:"avatarId,omitempty"` // The ID of the avatar for the project.
CategoryID int `json:"categoryId,omitempty"` // The ID of the category for the project.
Description string `json:"description,omitempty"` // The description of the project.
IssueSecurityScheme int `json:"issueSecurityScheme,omitempty"` // The ID of the issue security scheme for the project.
Key string `json:"key,omitempty"` // The key of the project.
Lead string `json:"lead,omitempty"` // Deprecated, use LeadAccountID instead. The lead of the project.
LeadAccountID string `json:"leadAccountId,omitempty"` // The account ID of the lead for the project.
Name string `json:"name,omitempty"` // The name of the project.
NotificationScheme int `json:"notificationScheme,omitempty"` // The ID of the notification scheme for the project.
PermissionScheme int `json:"permissionScheme,omitempty"` // The ID of the permission scheme for the project.
AssigneeType string `json:"assigneeType,omitempty"` // The type of assignee for the project.
URL string `json:"url,omitempty"` // The URL of the project.
ProjectTemplateKey string `json:"projectTemplateKey,omitempty"` // The key of the project template for the project.
ProjectTypeKey string `json:"projectTypeKey,omitempty"` // The key of the project type for the project.
Key string `json:"key,omitempty"` // The key of the project.
CategoryID int `json:"categoryId,omitempty"` // The ID of the category for the project.
}

// ProjectStatusPageScheme represents the status page scheme for a project in Jira.
Expand Down

0 comments on commit 2518f57

Please sign in to comment.