I am looking for automation of inactive users in Jira and send notification for those users who have

Vidya VASUDEVAN
Contributor
October 3, 2024

 

 

I am looking for automation of inactive users in Jira and send notification for those users who have not accessed Jira/Confluence for more than a month.. Can anyone help me with this.. Is there any way to remove the users as its tedious to remove the users manually from user management.  There is a limit for the users in Jira and confluence, however due to budget the limit cannot be exceeded hence I have to remove it manually.. I had proposed the idea to the team.. I have also thought of JQL but still need assistance.

Also Its cloud version.

Can anyone help me here or  reach out to me on linkedn and share some insights on this.

 

 

4 answers

4 accepted

1 vote
Answer accepted
Michal Switala _Appfire_ October 3, 2024

Hi Vidya,

 

Sure it is possible by using smart value : 

 

{{attachment.author.active}}: Returns true if their account is active, and false if not.

 

however I would need to know when this automation would be triggered also what would be the use case of this global automation. Also what kind of notification would you like to send, email or some Jira notification ? 

 

Please clarify above and I will help you build global automation,

 

Or you might find this article helpful on just how to remove inactive jira users :

 

https://confluence.atlassian.com/jirakb/how-to-disable-remove-inactive-or-active-users-in-bulk-1093012826.html 

 

if you find this helpful please mark this post as accepted answer,

 

Michal Switala

Associate Product Support Engineer at Appfire

 

Vidya VASUDEVAN
Contributor
October 3, 2024

Thank you so much for this information, I need help on this, I would like to send it as email to the inactive users because emails are mostly accessed by everyone but no Jira..

Let me know how can I reach out to you.

Michal Switala _Appfire_ October 4, 2024

Hi Vidya,

 

 

Sure, I will prepare an automation and show you it here whenever it's ready. Do you have an idea what would be a trigger ?  

 

Thanks,

Michal Switala

Vidya VASUDEVAN
Contributor
October 31, 2024

Hi Michael, 

 

Can we connect on some platform, if you are comfortable?

Regards,

Vidya Vasudevan

Vidya VASUDEVAN
Contributor
November 5, 2024

The trigger is ( users inactive more than 1 month) for confluence and Jira

0 votes
Answer accepted
Cristian0791
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2024

Hi Vidya,

You can do this with python:

1.Download the list with all active users

2.Filter by: Last Seen

3.Send emai to the filtered result.

 

To do this you will need a python developer.

 

Vidya VASUDEVAN
Contributor
October 3, 2024

Thats a great idea, then I have to look for phython developer in my project which is near to impossible due to budget constraint..Let me see on site developer is available. Thank you so much.

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 3, 2024

Hi Vidya - Welcome to the Atlassian Community!

I suggest you use an app from the Marketplace. I know Kantega is a good one. 

https://marketplace.atlassian.com/search?query=user%20management

 

Vidya VASUDEVAN
Contributor
October 3, 2024

This is quite interesting.. I can propose this to my team if no budget involved but it seems again the budget constraints .. Let me check..Thank you so much

Like John Funk likes this
0 votes
Answer accepted
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 3, 2024

Welcome to the community @Vidya VASUDEVAN 

This is more feasible with Data Center with usage of ScriptRunner that has a dedicated script for deleting inactive users. On cloud, ScriptRunner is limited for this kind of a task. You can use the API where you would need the account_id of each user and you can bulk delete them just with one API call.

Furthermore,

 

Vidya VASUDEVAN
Contributor
October 3, 2024

For cloud its quite difficult, also its for the team, I need to consider the budget for API again , I checked for marketyard but sadly we need approval for the API which is next to impossible.. But thank you for the information.. Good to know this information.. Thank you so much.

Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 3, 2024

You can also use this Manage Users for Jira Cloud

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events