I am exploring what we can do with the Jira Edge Connector and I looks quite promising.
What I am not able to find out is how an automation reacts to failure and is able to get the results (e.g. a JSON blob) back from the function that is executed.
I can see in the logs (and in the code) that the job sends something back, but it does not end up effecting the automation.
My first attempt used an action with a non exsiting executable, which led to an error in the JEC runner:
DEBUG[2024-03-26T15:51:51.032904Z] Received 1 messages from the queue[eu-central-1].
DEBUG[2024-03-26T15:51:51.034183Z] Job[XXYYZZ] is being submitted
DEBUG[2024-03-26T15:51:51.037145Z] Job[XXYYZZ] is submitted to worker[0425f45d-ab3b-4869-9a81-4270e9668574]
DEBUG[2024-03-26T15:51:51.158268Z] Message[XXYYZZ] is deleted from the queue[eu-central-1].
DEBUG[2024-03-26T15:51:51.173488Z] Action[Create] execution of message[XXYYZZ] with entityId[] failed: fork/exec /executable: no such file or directory Stderr:
DEBUG[2024-03-26T15:51:51.173662Z] Job[XXYYZZ] has been processed by worker[0425f45d-ab3b-4869-9a81-4270e9668574].
DEBUG[2024-03-26T15:51:52.091575Z] Successfully sent result of message[XXYYZZ] to Jira Service Management and it took 0.914775 seconds.
The automation seems just to send out the request but does not reacts on failure.
Request submitted to run action name
How do I check for failure and if it did not fail, how do I receive the result from `Jira Service Management` the job did send back?
Thanks for a response, really looking forward to use that runner. :)
@kniep -
JEC is something new to the env provided by Atlassian, I would recommend you to contact Atlassian Support (https://support.atlassian.com) for further assistance on your ask. It is also my understanding that automation will not react to failure with my limited engagement on this new platform.
Sorry.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.