Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,463,739
Community Members
 
Community Events
176
Community Groups

How to disable jira users from jira automation

Hi community, 

I think I was askinging in the wrong place about automations in Jira 

https://community.atlassian.com/t5/Jira-Service-Desk-questions/How-to-give-access-to-user-management/qaq-p/1505145#U1507125

 

Basically, I don't know how to integrate automation in Jira with the option to disable users mentioned in the thread above. 

I will receive a main ticket about the departure employee which will trigger other sub-tickets, and I am wondering if one of those will be able to disable the account in Jira.

 

2 answers

0 votes
Sam Harding Atlassian Team Oct 18, 2020

Hi,

Unfortunately, this is not something that Automation for Jira supports. Whilst you could theoretically use outgoing webhook requests to do this, you would need to configure the rule to store the relevant credentials to authenticate the request in your rule configuration, as we don't provide the functionality to make webhook requests to Jira as an authenticated app request. This is strongly advised against.

Maybe have a look at Script Runner for Jira, and reach out to the community there. They may have a solution that will suit your problem.

Thanks

Like # people like this
0 votes
Curt Holley Community Leader Oct 15, 2020

Interesting Use case.....it probably can be done (via API) but is it the best way to go about it? 

How big is the company? how many of these requests do you get?

I can recommend using Atlassian access in conjunction with AD group membership to manage both on and off boarding of staff. but that does come with a cost and level of complexity. 

Will be interested to see what others suggest.

The company has around 3000 users and maybe every month we have 10 or 20 offboarding but it depends I guess. The IT team is quite small ( only 4 ).

Onboarding it's generated with SSO but offboarding stay if we don't manually disable them. So we don't want to pay extra licenses for users who are not in the company anymore.

The main reason because I am looking for this solution is because there is no way to give access to user management only, to somebody. So we cannot delegate this task to one of our contractors because he will get full site access only for that small piece of administration.

Is there any way to trigger the API with a webhook through automation?

Like Curt Holley likes this

I think you would need some intermediary code to get such a trick to happen..... And you would want to test it for quality and security.

Sorry i can't be of more assistance, hopefully someone else can help you out.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events