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
58967a9d
Unverified
Commit
58967a9d
authored
May 03, 2019
by
Sander van Harmelen
Committed by
GitHub
May 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #617 from gideonw/master
Add API URL to the JIRA service integration
parents
4baaa27b
c5806913
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
services.go
services.go
+1
-0
services_test.go
services_test.go
+1
-0
No files found.
services.go
View file @
58967a9d
...
@@ -389,6 +389,7 @@ type JiraService struct {
...
@@ -389,6 +389,7 @@ type JiraService struct {
// https://docs.gitlab.com/ce/api/services.html#jira
// https://docs.gitlab.com/ce/api/services.html#jira
type
JiraServiceProperties
struct
{
type
JiraServiceProperties
struct
{
URL
*
string
`url:"url,omitempty" json:"url,omitempty"`
URL
*
string
`url:"url,omitempty" json:"url,omitempty"`
APIURL
*
string
`url:"api_url,omitempty" json:"api_url,omitempty"`
ProjectKey
*
string
`url:"project_key,omitempty" json:"project_key,omitempty" `
ProjectKey
*
string
`url:"project_key,omitempty" json:"project_key,omitempty" `
Username
*
string
`url:"username,omitempty" json:"username,omitempty" `
Username
*
string
`url:"username,omitempty" json:"username,omitempty" `
Password
*
string
`url:"password,omitempty" json:"password,omitempty" `
Password
*
string
`url:"password,omitempty" json:"password,omitempty" `
...
...
services_test.go
View file @
58967a9d
...
@@ -138,6 +138,7 @@ func TestSetJiraService(t *testing.T) {
...
@@ -138,6 +138,7 @@ func TestSetJiraService(t *testing.T) {
opt
:=
&
SetJiraServiceOptions
{
opt
:=
&
SetJiraServiceOptions
{
URL
:
String
(
"asd"
),
URL
:
String
(
"asd"
),
APIURL
:
String
(
"asd"
),
ProjectKey
:
String
(
"as"
),
ProjectKey
:
String
(
"as"
),
Username
:
String
(
"aas"
),
Username
:
String
(
"aas"
),
Password
:
String
(
"asd"
),
Password
:
String
(
"asd"
),
...
...
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