Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
14423f46
Commit
14423f46
authored
Jan 11, 2019
by
Jordan Caussat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update service jira: fix JiraIssueTransitionID type from string to int
parent
859bdd9e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
services.go
services.go
+1
-1
services_test.go
services_test.go
+1
-1
No files found.
services.go
View file @
14423f46
...
...
@@ -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.
...
...
services_test.go
View file @
14423f46
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment