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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

82 views 0 5
Read article

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