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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.