Commit 14423f46 authored by Jordan Caussat's avatar Jordan Caussat

Update service jira: fix JiraIssueTransitionID type from string to int

parent 859bdd9e
......@@ -393,7 +393,7 @@ type JiraServiceProperties struct {
ProjectKey *string `url:"project_key,omitempty" json:"project_key,omitempty" `
Username *string `url:"username,omitempty" json:"username,omitempty" `
Password *string `url:"password,omitempty" json:"password,omitempty" `
JiraIssueTransitionID *string `url:"jira_issue_transition_id,omitempty" json:"jira_issue_transition_id,omitempty"`
JiraIssueTransitionID *int `url:"jira_issue_transition_id,omitempty" json:"jira_issue_transition_id,omitempty"`
}
// GetJiraService gets Jira service settings for a project.
......
......@@ -141,7 +141,7 @@ func TestSetJiraService(t *testing.T) {
ProjectKey: String("as"),
Username: String("aas"),
Password: String("asd"),
JiraIssueTransitionID: String("asd"),
JiraIssueTransitionID: Int(2),
}
_, err := client.Services.SetJiraService(1, opt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment