Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,887
Community Members
 
Community Events
168
Community Groups

Need to make all inactive users as read only

Hi,

Looking to make all inactive users in JiraAlign(more than 60 days) have read only access.

In Login activity page there is no such filters to select inactive user over 60 days and bulk change their permission level to read only.

Can someone suggest how to do the same

1 answer

1 accepted

3 votes
Answer accepted

Hi paras.sharma61@t-mobile.com,

In my experience, what you are asking is not possible in the manner you mention.

Jira Align has active and deactivated users. There is no way to delete a user in Jira Align, due to data integrity. auditing, regulatory considerations. Instead of deleting users, Jira Align allows you to change them to Deactivated status (Admin -> People -> Deactivate). That removes those users from all drop downs and the People list. It preserves their work history.

In addition, there is no such role as read-only. You would need to configure such a role.

  • NOTE: Each user assigned to this read-only role will consume an active (paid) license, assuming the licensing rules are the same as I am used to.

What you are describing appears to be the desire to change the role of any active user who hasn't logged in for at least 60 days.If that is correct, you can do the following:

  • Export the People list (Administration -> People -> More Actions -> Export).
  • Filter on Column AI (Last Logged In) to find those who haven't logged in for at least 60 days.
  • Either:
    • Deactivate those users (no license cost) OR
    • Create a read-only role and assign those users to that role (each such user consumes an active paid license).

Regards,
Peer

@Peter Jessen 

Thanks for the reply.

Is there a way to bulk deactivate or change permissions to read only...Doing manually one by one will be time consuming. Appreciate!

Hi paras.sharma61@t-mobile.com,

You can try the following method, but I'll deny every typing this:

  1. Export all ACTIVE users (active users are shown by default)
  2. Filter on last log in date to the date range you want
    • NOTE: DO NOT ALTER THE SPREADSHEET FORMAT IN ANY WAY OR IT WILL FAIL ON IMPORT
  3. Go to the "Active User" column (column AL in the spreadsheet, as of today)
  4. Change the users to "Deactivated"
  5. Now filter on all "Active" users and delete these rows (this won't delete users during an import)
  6. Clear all filters and verify only the users you want deactivated remain
  7. Save the spreadsheet in the original XML format
  8. Now import the spreadsheet back into Jira Align
  9. NOTE: I HIGHLY RECOMMEND YOU TRY THIS METHOD WITH A SINGLE TEST RECORD FIRST SO AS NOT TO WREAK HAVOC ON A BUNCH OF ACTIVE USERS.

An alternative method is to use the Jira Align REST API. You can learn all about the existing version of this evolving API by reading the Jira Align REST API announcement.

Regards,
Peter

Like Fionnuala Callan likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events