Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA Automation and Edge Connector (JEC) response

kniep March 26, 2024

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. :)

1 answer

1 vote
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 26, 2024

@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.

https://support.atlassian.com/jira-service-management-cloud/docs/use-jira-edge-connector-jec-as-an-extensibility-platform/

Sorry.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

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

Atlassian Community Events