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

Accepted Answer
1 vote

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

449 views 7 5
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