Hello
I am developing a background service where I need to periodically load users from JIRA into my service. Since its a background service I am not able to use code flow for OAuth2. For other platforms my service is integrated with I use client_credentials but as I undersatnd Atlassian doesn't provide it.
I googled a bit and found out that it looks like users can be downloaded via Connected app.
I used this link and succesfully installed sample Connected app into my Jira workspace:
https://developer.atlassian.com/cloud/jira/platform/getting-started-with-connect/
But right now I am confused what's next? How can I utilize this App to get users externally?
Thanks in advance!
Hi @Renat Khabibulin and welcome to Community!
As @Nikola Perisic mentioned, you'll need to build a Forge app. You could achieve your use case with a scheduled trigger and egress or remotes (depending on your needs) to send your users/data to wherever you want.
I actually have some colleagues who have built something similar who could help out.
Feel free to reach out on LinkedIn if you'd like to chat.
You can get Jira users into an external app using the Jira REST API. The API lets you search users by name, email, or account ID. Just make sure your account has permission to view users, then your app can fetch and use the user list as needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome @Renat Khabibulin
Connect apps will soon be deprecated and you would need to use Forge instead: https://developer.atlassian.com/platform/app-migration/tutorials/adopting-connect-on-forge/
For integrating Forge with other services, I would recommend checking this video out first: https://www.youtube.com/watch?v=UV4drTWEzrU&t=163s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.