Forums

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

Jira edge connector, how to return data to Jira

Antoine _Klee Group_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 11, 2025

Hi, in the doc I can see that it is possible to access data from the JEC action with the {{jecAction.output}} smart value within automations.

 

I am currently discovering the topics with the basic jec package. It works fine, I can send data from Jira to the JEC and utilise it there. But how to answer some data to be used in the automation?

I am currently working with the default python script. I tried sending data from JEC to Jira by adding a "return("my custom message")", "exit("my custom message")" and "sys.exit("my custom message")" keywords at the end of my simple script but it does not work and I am getting this error in the "audit log" from the automation for Jira:

"Err: exit status 1, Stderr: my custom message"

"Err: exit status 1, Stderr: File "/home/jsm/jec/scripts/jec_action_executor.py", line 22 return "my custom message" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function"

Is there a way to do this? Best

1 answer

0 votes
Kai Krause
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 12, 2025

Hi,

the {{jecAction.output}} is currently only avaibale if on an enterprise plan.

You find here the documentation.

Use Jira Edge Connector (JEC) with Jira Automation | Cloud automation Cloud | Atlassian Support . Unfourtanely it is not clear written in my opinion. 

BR
Kai

Suggest an answer

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

Atlassian Community Events