Add GitLab username and display name to JiraUser GraphQL type
To generate the initial Jira-GitLab user mapping, the frontend calls the GraphQL jiraImportUsers
mutation and gets back a list of JiraUser
s with the following fields:
gitlabId
jiraAccountID
jiraDisplayName
jiraEmail
However, with only gitlabId
we cannot show the user which GitLab username/name this corresponds to (for showing in the form dropdown) unless the frontend makes another API call to get the GitLab username from these gitlabId
s.
To solve this, we could add gitlabUsername
and gitlabName
fields to the JiraUser
GraphQL type so the frontend can get this information in the same API call as the ID.
Edited by Coung Ngo