Skip to content

Add users mapping to Jira import start mutation and store it in Redis

Jarka Košanová requested to merge 216145-graphql-import into master

What does this MR do?

It adds usersMapping argument to jiraImportStart mutation and then stores this mapping in the Redis.

Example

mutation {
  jiraImportStart(input: {jiraProjectKey: "TEST", projectPath: "flightjs/flight", 
    usersMapping: [
      {jiraAccountId: "aaaa", gitlabId: 5}, 
      {jiraAccountId: "bbb", gitlabId: 7},
      {jiraAccountId: "ccc", gitlabId: null},
      {jiraAccountId: "ddd"}
    ]}) {
    errors
    jiraImport {
      jiraProjectKey
    }
  }
}

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

#214808 (closed)

Edited by Jarka Košanová

Merge request reports

Loading