Forums

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

Data Manager Clients for Assets will it need the Windows Terminal to run on a windows server?

Timothy Brown
Contributor
October 8, 2024

In the Data Manager Clients for Assets Documentation to load the Client on Windows it tells you to access the Windows Terminal. This is an app from the windows store. But is it truly needed to run the Client? 

Basically, is it a requirement or needed to run the Client? 

Also, the documentation references Windows 10 and 11 but not Window Servers.

It states to change directory to  cd users/shared, which I do not see a Shared Directory. Can it not be installed in any directory?

 

Thanks

 

Set up the Data Manager Clients for Assets | Jira Service Management Cloud | Atlassian Support

2 answers

1 accepted

0 votes
Answer accepted
Fabian Lim
Community Champion
October 8, 2024

Hi @Timothy Brown

Yes, I've been part of the EAP and you need to run the terminal every time you create a new job. That being said if you are the only person running, you can use your local computer, but if others are also uploading files/jobs, you may want to have a machine that multiple people can access.  

Regards,

Fabian

Timothy Brown
Contributor
October 8, 2024

Once you run the job does it continue to Run imports on a set schedule, or do you need to setup a new job every time? I'm confused. I thought this was an app that will do most of the importing for Data Manager. What is this client used for?

Fabian Lim
Community Champion
October 9, 2024

In their documentation they mentioned that you need use windows task scheduler to run the job to import the new files/plugin info and then run the import to add it to the data manager.  However, they do not have details on how to build this.  

Regards,

Fabian

Like Timothy Brown likes this
0 votes
Leonel Goitia February 18, 2025

Hi, @Timothy Brown.

Not sure if this help, But I have this scheduled task that run my job, cleanse and import to Data manager so I have my dashboard updated everyday:

 

# Función para ejecutar comandos y verificar logs
function Ejecutar-Comando {
param (
[string]$path,
[string]$arguments,
[string]$descripcion
)

Write-Host "🔄 Ejecutando: $descripcion..."
Write-Host "📜 Comando: $path $arguments" -ForegroundColor Cyan

# Capturar salida del proceso
$process = Start-Process -FilePath $path -ArgumentList $arguments -Wait -NoNewWindow -PassThru `
-RedirectStandardOutput "output.log" -RedirectStandardError "error.log"


Start-Sleep -Seconds 2 # Espera para que los logs se escriban

if ($process.ExitCode -ne 0) {
Write-Host "❌ Error al ejecutar: $descripcion. Código de salida: $($process.ExitCode)" -ForegroundColor Red
Write-Host "📄 Revisando detalles en error.log..."

if (Test-Path "error.log") {
Get-Content "error.log" | ForEach-Object { Write-Host $_ -ForegroundColor Yellow }
} else {
Write-Host "⚠ No se encontró error.log, pero el proceso falló." -ForegroundColor Magenta
}

exit $process.ExitCode
} else {
Write-Host "✅ $descripcion ejecutado correctamente."

}
}

# Ejecutar procesos en orden con manejo de errores
Ejecutar-Comando -path $dmClientPath_job -arguments "--run `"$datasetSchema2`" --workspace-id `"$workspaceId`" --token `"$job_token`"" -descripcion "Trabajo de adaptación"
Ejecutar-Comando -path $dmClientPath_clean -arguments "--run `"cleanse`" --workspace-id `"$workspaceId`" --token `"$token`"" -descripcion "Limpieza de datos"
Start-Sleep -Seconds 20
Ejecutar-Comando -path $dmClientPath_import -arguments "--run `"import`" --workspace-id `"$workspaceId`" --ds `"$datasetSchema`" --token `"$token`"" -descripcion "Importación de datos"
# Si el Import falla, intentarlo nuevamente
if ($LASTEXITCODE -ne 0) {
Write-Host "⚠ Primera ejecución de Import falló. Esperando 10 segundos y reintentando..."
Start-Sleep -Seconds 10
Ejecutar-Comando -path $dmClientPath_clean -arguments "--run `"cleanse`" --workspace-id `"$workspaceId`" --token `"$token`"" -descripcion "Re-Limpieza de datos"
Start-Sleep -Seconds 10
Write-Host "🔄 Reintentando Importación de datos..."
Ejecutar-Comando -path $dmClientPath_import -arguments "--run `"import`" --workspace-id `"$workspaceId`" --ds `"$datasetSchema`" --token `"$token`"" -descripcion "Importación de datos (Reintento)"
}

# Confirmar ejecución
Write-Host "🚀 El proceso de importación ha finalizado correctamente." -ForegroundColor Green

 

Suggest an answer

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

Atlassian Community Events