Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

We want a script to send notifications in jira confluence and bitbucket when the licenses are near t

prasad biddika
Contributor
July 12, 2023

We want a script to send notifications in Jira confluence and bitbucket when the licenses are near to hit.

 

Please guide how to implement it.

 

Thanks

1 answer

0 votes
Rudy Holtkamp
Community Champion
July 12, 2023

Hi @prasad biddika ,

Assuming you are an org admin, you can use the Organization Rest API. 

Then you can create a schedule triggered (global) automation rule which queries the end point

https://api.atlassian.com/admin/v1/orgs/{orgId}/users

in the response you can get the numbers of users with:

{{webResponse.body.meta.total}}

And compare that with your license and send an email if necessary.

Suggest an answer

Log in or Sign up to answer