Hello,
Is it possible to create multiple users via POST ?
[
{
"name": "charlie1",
"password": "abracadabra",
"emailAddress": "charlie@atlassian.com",
"displayName": "Charlie of Atlassian",
"applicationKeys": [
"jira-core"
]
},{
"name": "charlie2",
"password": "abracadabra",
"emailAddress": "charlie@atlassian.com",
"displayName": "Charlie of Atlassian",
"applicationKeys": [
"jira-core"
]
}
]
{
"errorMessages": [
"Can not deserialize instance of com.atlassian.jira.rest.v2.issue.UserWriteBean out of START_ARRAY token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@41286fb1; line: 1, column: 1]"
]
}
To the best of my knowledge you can't make JIRA create multiple users accounts with a single post. Both the web UI and the JIRA REST API reference documentation both only are able to create one user account per interaction. Most admins are able to get around this either by connecting JIRA to a LDAP instance to populate the user accounts, or in some cases you might be able to create a script to make the separate API calls for each account that would need to be created.
Alternative to that there are third party plugins like Bulk User Creator that might be helpful as well if you need to be creating a large number of accounts in JIRA quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.