Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-81939

Import Users with JSON Importer, Always Set The User to Active

      Issue Summary

      From Importing data from JSON document, it mentioned that we can set the status of the users when creating the new users (active: true/false).

      "users": [ 
      	{
              "name" : "abcde-12345-fedcba",
              "groups" : [ "jira-users", "my-custom-group" ],
              "active" : true,
              "email" : "user1@example.com",
              "fullname" : "User 1"
      	}
      ]
      

      However, the users are always get created as active users on User Management even though we set the active status to false. Example:

      "users": [ 
      	{
              "name" : "abcde-456789-fedcba",
              "active" : false,
              "email" : "user2@example.com",
              "fullname" : "User 2"
      	}
      ]
      

      Steps to Reproduce

      1. Create a JSON file with active and inactive users. Example:
        "users": [ 
        	{"name" : "abcde-12345-fedcba","groups" : [ "jira-users", "my-custom-group" ],"active" : true,"email" : "user1@example.com","fullname" : "User 1"},
         	{"name" : "abcde-456789-fedcba","active" : false,"email" : "user2@example.com","fullname" : "User 2"}
        ]
        
      2. Attempt the import to the site using JSON importer
      3. Set the users to inactive

      Expected Results

      • User 2 is set to inactive in User Management

      Actual Results

      • User 2 is set to active in User Management
      • User 2 received the invitation email to access the site
      • If "New users have access to this product" option is enabled, User 2 is added to the default group(s) as well.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            [JRACLOUD-81939] Import Users with JSON Importer, Always Set The User to Active

            Hello!

            We’re looking to improve the import experience in Jira and are keen to understand how our community is using the Jira Import Module (JIM). If you’ve used JIM to migrate/move data into Jira recently, we’d love to hear about your experience. Please take a few minutes to fill out this survey. Your feedback will help us learn how we can improve your experience in importing data.

            Survey link - https://forms.gle/NYNkmS92r96z42QV9

            Thanks!

            Prashanth M
            Product Manager, Jira Platform

            Prashanth M added a comment - Hello! We’re looking to improve the import experience in Jira and are keen to understand how our community is using the Jira Import Module (JIM). If you’ve used JIM to migrate/move data into Jira recently, we’d love to hear about your experience. Please take a few minutes to  fill out this survey . Your feedback will help us learn how we can improve your experience in importing data. Survey link -  https://forms.gle/NYNkmS92r96z42QV9 Thanks! Prashanth M Product Manager, Jira Platform

            Tong Wang added a comment -

            Agree with Dylan, it is quite important for us, especially when we do JSM migration, it will give Application Access to every customer we import. 

            Please increase the priority and address it ASAP 

            Tong Wang added a comment - Agree with Dylan, it is quite important for us, especially when we do JSM migration, it will give Application Access to every customer we import.  Please increase the priority and address it ASAP 

            Why is this low priority?   Doesn't this affect billing?

            Dylan Brophy added a comment - Why is this low priority?   Doesn't this affect billing?

              Unassigned Unassigned
              cteh Ting
              Affected customers:
              13 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated: