Debugging InCloud workflow?

When moving ticket js-534 back to Open state, I'm getting this message:
Workflow rule "dwh-youtrack-setFeatureReadyToTest->Task State Changed" threw an exception in project Job Service.

I don't know how to debug workflows on our InCloud account. I suspect the details are in a log file somewhere, but I don't know how to access them.

http://davidweekleyhomes.myjetbrains.com/youtrack/viewWorkflow/dwh-youtrack-setFeatureReadyToTest

1
5 comments
Official comment

Hi,

Thank you for leaving your question here and sorry for not responding earlier!
At this point, debugging workflows is not available, unfortunately. Errors can be found in logs in case you use YouTrack Stand-alone version.
Could you please provide me with the workflow script?

Avatar
Permanently deleted user

Still not possible with YouTrack version 2017.3 ... ???

0

Torsten, if you use our new JavaScript workflows, then please check the console  - you will find all the relevant errors there. You can also use console.log() for debugging.

0
Avatar
Permanently deleted user

Mhm, ok: debugging by instrumentation... but where do I see that logs? To "debug" a On-Change rule I have to apply changes to a ticket. Should I have the workflow in question open within the editor the same time I do change the ticket to see the console output? Or what should I do? we use the Cloud hosted YouTrack version and I think there is no option to access any log files.

0

Yes, the debugging process looks like that: you apply changes, see if your workflow is functioning correctly and check the console in the workflow editor if it isn't.

More about console here: https://www.jetbrains.com/help/youtrack/incloud/Web-based-Workflow-Editor.html#workflow-editor-console-toolbar

As for the log files, unfortunately, it's still not possible to view them if you use an InCloud YouTrack instance.

0

Please sign in to leave a comment.