Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
470a185e
Commit
470a185e
authored
Jul 10, 2020
by
Arturo Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jira issue link
parent
a4c38828
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/serializers/integrations/jira/issue_entity.rb
ee/app/serializers/integrations/jira/issue_entity.rb
+1
-1
ee/spec/serializers/integrations/jira/issue_entity_spec.rb
ee/spec/serializers/integrations/jira/issue_entity_spec.rb
+1
-1
No files found.
ee/app/serializers/integrations/jira/issue_entity.rb
View file @
470a185e
...
...
@@ -57,7 +57,7 @@ module Integrations
end
expose
:web_url
do
|
jira_issue
|
"
#{
jira_issue
.
client
.
options
[
:site
]
}
projects/
#{
jira_issue
.
project
.
key
}
/issues
/
#{
jira_issue
.
key
}
"
"
#{
jira_issue
.
client
.
options
[
:site
]
}
browse
/
#{
jira_issue
.
key
}
"
end
expose
:references
do
|
jira_issue
|
...
...
ee/spec/serializers/integrations/jira/issue_entity_spec.rb
View file @
470a185e
...
...
@@ -47,7 +47,7 @@ RSpec.describe Integrations::Jira::IssueEntity do
assignees:
[
{
name:
'assignee'
}
],
web_url:
'http://jira.com/
projects/GL/issues
/GL-5'
,
web_url:
'http://jira.com/
browse
/GL-5'
,
references:
{
relative:
'GL-5'
},
external_tracker:
'jira'
)
...
...
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