Unverified Commit 58967a9d authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Merge pull request #617 from gideonw/master

Add API URL to the JIRA service integration
parents 4baaa27b c5806913
...@@ -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" `
......
...@@ -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"),
......
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