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

0 answers

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