I have a questen in relation to scripts in Polarion. I want to develop some scripts to automate a few functions in Polarion. I downloaded a offline version of Polarion to have a seperated test area. Then I included a few Projects from the "online" Polarion server. Unfortunately I had to find out that the scripts with the EventTriggerConfiguration are no longer called offline(No logs are created). I dont understand why these trigger is not working offline.
<EventTriggerConfiguration>
<WorkItem>
<type id="task">
<event trigger="post-save">
<script>
<scriptName>project:scripts:createReviewWIPostSavenew.js</scriptName>
<scriptEngine>js</scriptEngine>
</script>
</event>
</type>
</WorkItem>
<WorkItem>
<type id="task">
<event trigger="pre-save">
<script>
<scriptName>project:scripts:createTaskWIPreSavenew.js</scriptName>
<scriptEngine>js</scriptEngine>
</script>
</event>
</type>
</WorkItem>
</EventTriggerConfiguration>
All files of the projects are the same and the triggers.xml
is located at: .polarion/events. The scripts in the directory scripts. The type id "task" is also defined in Administration/WorkItems/Types