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
456c1e4f
Commit
456c1e4f
authored
May 11, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links for Jira integration
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
e397e0d5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/integrations/edit/components/jira_trigger_fields.vue
...ipts/integrations/edit/components/jira_trigger_fields.vue
+2
-2
app/controllers/jira_connect/app_descriptor_controller.rb
app/controllers/jira_connect/app_descriptor_controller.rb
+1
-1
app/helpers/issues_helper.rb
app/helpers/issues_helper.rb
+1
-1
spec/helpers/issues_helper_spec.rb
spec/helpers/issues_helper_spec.rb
+1
-1
No files found.
app/assets/javascripts/integrations/edit/components/jira_trigger_fields.vue
View file @
456c1e4f
...
...
@@ -37,7 +37,7 @@ const issueTransitionOptions = [
help
:
s__
(
'
JiraService|Automatically transitions Jira issues to the "Done" category. %{linkStart}Learn more%{linkEnd}
'
,
),
link
:
helpPagePath
(
'
user/project/integrations/jira
.html
'
,
{
link
:
helpPagePath
(
'
integration/jira/index
.html
'
,
{
anchor
:
'
automatic-issue-transitions
'
,
}),
},
...
...
@@ -47,7 +47,7 @@ const issueTransitionOptions = [
help
:
s__
(
'
JiraService|Set a custom final state by using transition IDs. %{linkStart}Learn about transition IDs%{linkEnd}
'
,
),
link
:
helpPagePath
(
'
user/project/integrations/jira
.html
'
,
{
link
:
helpPagePath
(
'
integration/jira/index
.html
'
,
{
anchor
:
'
custom-issue-transitions
'
,
}),
},
...
...
app/controllers/jira_connect/app_descriptor_controller.rb
View file @
456c1e4f
...
...
@@ -39,7 +39,7 @@ class JiraConnect::AppDescriptorController < JiraConnect::ApplicationController
private
HOME_URL
=
'https://gitlab.com'
DOC_URL
=
'https://docs.gitlab.com/ee/
user/project/integrations/jira.html#gitlab-jira-integration
'
DOC_URL
=
'https://docs.gitlab.com/ee/
integration/jira/
'
def
modules
modules
=
{
...
...
app/helpers/issues_helper.rb
View file @
456c1e4f
...
...
@@ -181,7 +181,7 @@ module IssuesHelper
initial_email:
project
.
new_issuable_address
(
current_user
,
'issue'
),
is_signed_in:
current_user
.
present?
.
to_s
,
issues_path:
project_issues_path
(
project
),
jira_integration_path:
help_page_url
(
'
user/project/integrations/jira
'
,
anchor:
'view-jira-issues'
),
jira_integration_path:
help_page_url
(
'
integration/jira/
'
,
anchor:
'view-jira-issues'
),
markdown_help_path:
help_page_path
(
'user/markdown'
),
max_attachment_size:
number_to_human_size
(
Gitlab
::
CurrentSettings
.
max_attachment_size
.
megabytes
),
new_issue_path:
new_project_issue_path
(
project
,
issue:
{
assignee_id:
finder
.
assignee
.
try
(
:id
),
milestone_id:
finder
.
milestones
.
first
.
try
(
:id
)
}),
...
...
spec/helpers/issues_helper_spec.rb
View file @
456c1e4f
...
...
@@ -309,7 +309,7 @@ RSpec.describe IssuesHelper do
initial_email:
project
.
new_issuable_address
(
current_user
,
'issue'
),
is_signed_in:
current_user
.
present?
.
to_s
,
issues_path:
project_issues_path
(
project
),
jira_integration_path:
help_page_url
(
'
user/project/integrations/jira
'
,
anchor:
'view-jira-issues'
),
jira_integration_path:
help_page_url
(
'
integration/jira/
'
,
anchor:
'view-jira-issues'
),
markdown_help_path:
help_page_path
(
'user/markdown'
),
max_attachment_size:
number_to_human_size
(
Gitlab
::
CurrentSettings
.
max_attachment_size
.
megabytes
),
new_issue_path:
new_project_issue_path
(
project
,
issue:
{
assignee_id:
finder
.
assignee
.
id
,
milestone_id:
finder
.
milestones
.
first
.
id
}),
...
...
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