How to import inactive users

I have a JSON import file that has a bunch of content, but the content I'm concerned with is basically structured like this:

{

   "users" : [

      {

         "name" : "OldSystem_johndoe",

         "fullname" : "John Doe",

         "active" : false

      }

   ]

}

But after the JSON import completes, the user is active and is a member of the jira-users group. Why? How can I import inactive users?

1 answer

1 accepted

Hello Benjamin,

the code that you have pasted should work. However we had a bug connected to this functionality ( https://ecosystem.atlassian.net/browse/JIM-1080) - it was fixed in JIM 6.1.0. We are using very similar code piece in our tests. As far as I know it's working correctly. Please make sure that you are using the newest JIM version: https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugins.jira-importers-plugin

In case it's still not working please let me know by commenting this answer or creating a new issue under JIM project.

Cheers,

Przemek

Our JIRA installation is on version 6.0.7 and JIM 6.1 apparently doesn't support JIRA 6.0. Are we stuck until our JIRA installation is upgraded? Do we have to use some other import mechanism if we want this to work for now?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

576 views 1 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you