Skip to content
Snippets Groups Projects
Commit a773c2ea authored by Mark Chao's avatar Mark Chao
Browse files

Merge branch '322638-remove--jira-entity-username' into 'master'

Remove Jira Issue username

See merge request gitlab-org/gitlab!56322
parents d0f48240 f09394cf
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -79,7 +79,6 @@ class IssueEntity < Grape::Entity
def jira_user(user)
{
name: user['displayName'],
username: user['name'],
web_url: jira_web_url(user),
avatar_url: user['avatarUrls']['48x48']
}
Loading
Loading
Loading
Loading
@@ -87,13 +87,11 @@
],
author: hash_including(
name: 'reporter',
username: 'reporter@reporter.com',
avatar_url: 'http://reporter.avatar'
),
assignees: [
hash_including(
name: 'assignee',
username: 'assignee@assignee.com',
avatar_url: 'http://assignee.avatar'
)
],
Loading
Loading
@@ -103,11 +101,10 @@
comments: [
hash_including(
id: '10022',
author: hash_including({
author: hash_including(
name: 'comment_author',
username: 'comment@author.com',
avatar_url: 'http://comment_author.avatar'
}),
),
body_html: "<p dir=\"auto\">Comment</p>",
created_at: '2020-06-25T15:50:00.000+0000'.to_datetime.utc,
updated_at: '2020-06-25T15:51:00.000+0000'.to_datetime.utc
Loading
Loading
Loading
Loading
@@ -61,13 +61,11 @@
],
author: hash_including(
name: 'reporter',
username: 'reporter@reporter.com',
avatar_url: 'http://reporter.avatar'
),
assignees: [
hash_including(
name: 'assignee',
username: 'assignee@assignee.com',
avatar_url: 'http://assignee.avatar'
)
],
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment