Does anyone know what the file format is supposed to be to use the removeUsersWithFile option in the CLI Plugin. Don't tell me a csv, because I already know that part. I have a file that works perfectly with the addUsersWithFile, but it failes everytime on the remove. I've tried using just the user names, I've tried username,password,email,full name. I've search the cli plugin page. Lots of examples of the commands, but nothing to tell me what fields it wants in the file. I'm sure that I have seen an example of a file once before, but I don't seem to be able to find it now.
Has anything tried this option before?
the question is a bit old , but I am posting an answer for the convenience of whoever stumbles on this problem =)
Had the same situation :
The problem is not the file you are working with, it is the error message!
What actually happens is that the user cannot be removed (is assigned to an issue, is a reporter or commented), nothing wrong with reading the file.
So you have to deactivate the user. Another word of warning there, the email-address of the user has to be a valid format (often not the case when importing users in a migration).
If this is not the case , you will get a positive reply from JIRA CLI saying the user is inactive , when in fact the user is still active. You will have to use something like this:
$atlcli $instance --action updateUser --deactivate --userId YOURUSERID --userEmail YOURUSERID@makeitvalid.com
hope this helps someone...
Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs