How to automate the import of EntraID users with JSM Assets - Microsoft Entra ID (Azure AD) Integrat

Cornelius January 26, 2024

Hi community,

 

we've installed the JSM PlugIn frm Atlassian Labs (https://marketplace.atlassian.com/apps/1232506/jsm-assets-microsoft-entra-id-azure-ad-integration?tab=overview&hosting=cloud) to sync users from Microsoft EntraID / AzureAD to Jira Assets. The import works well, but its a manual task.

The usual workaround of creating a jira automation rule with an API call unfortunately falls, as imports from the type external can't be started with the API.

Anybody else got an idea to automate the import of the users?

 

Thanks in advance

1 answer

1 vote
Monty
Contributor
February 29, 2024

I'm running into this SAME Issue, and I've written about it in the Jira Subreddit here: Help with Asset API - Triggering Microsoft Entra Import

My understanding is that the `/importsource/{importSourceUuid}/` actions are only related to external imports, as if I were trying to import external data into Asset Management myself. I thought that I could use `/import/start/{id}`  but that doesn't appear to work. I get ` (415) Unsupported Media Type error.` if I use it as written, then if I add the Content-Type header, I get ` (400) Bad Request`.

My thought is that the Entra ID extension itself should have an API call to trigger the execution, but I'm not finding any method or documentation for triggering extension API calls.

I wish they'd just add a scheduling feature to make it easier on everyone, but Atlassian appears to have built the bare minimum and called it good. 🤷‍♂️

Michael Ayeni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2024

Hi Monty, Have you been able to automatically trigger the import?

Monty
Contributor
May 29, 2024

@Michael Ayeni No - It is not possible. As I expected the triggering mechanism is in the integration itself, not part of the asset management API. I ended up removing this and switched to the iHub app from the marketplace. It's been a lifesaver and it has allowed me to automate a lot more things that I've been struggling with. The devs have been really responsive whenever I've had questions as well.  

 

Michael Ayeni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2024

Thanks a lot @Monty , I will take a look at the app.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events