Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
42b7a071
Commit
42b7a071
authored
Jun 07, 2013
by
Greg Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tag all Zendesk issues with "LMS" per request from Mary
parent
7be6880f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
common/djangoapps/util/tests/test_submit_feedback.py
+2
-2
common/djangoapps/util/views.py
+2
-1
No files found.
common/djangoapps/util/tests/test_submit_feedback.py
View file @
42b7a071
...
...
@@ -159,7 +159,7 @@ class SubmitFeedbackTest(TestCase):
"requester"
:
{
"name"
:
"Test User"
,
"email"
:
"test@edx.org"
},
"subject"
:
"a subject"
,
"comment"
:
{
"body"
:
"some details"
},
"tags"
:
[
"test_course"
,
"test_issue"
]
"tags"
:
[
"test_course"
,
"test_issue"
,
"LMS"
]
}
}
),
...
...
@@ -210,7 +210,7 @@ class SubmitFeedbackTest(TestCase):
"requester"
:
{
"name"
:
"Test User"
,
"email"
:
"test@edx.org"
},
"subject"
:
"a subject"
,
"comment"
:
{
"body"
:
"some details"
},
"tags"
:
[]
"tags"
:
[
"LMS"
]
}
}
),
...
...
common/djangoapps/util/views.py
View file @
42b7a071
...
...
@@ -90,7 +90,8 @@ def _record_feedback_in_zendesk(realname, email, subject, details, tags, additio
"
\n
"
.
join
(
"
%
s:
%
s"
%
(
key
,
value
)
for
(
key
,
value
)
in
additional_info
.
items
()
if
value
is
not
None
)
)
zendesk_tags
=
list
(
tags
.
values
())
# Tag all issues with LMS to distinguish channel in Zendesk; requested by student support team
zendesk_tags
=
list
(
tags
.
values
())
+
[
"LMS"
]
new_ticket
=
{
"ticket"
:
{
"requester"
:
{
"name"
:
realname
,
"email"
:
email
},
...
...
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