Workflow jetbrains-youtrack-workTimer reports error: Can not resolve property Issue.

I installed 4.1 and enabled time tracking for a test project that I'd just created.  I then attached the jetbrains-youtrack-workTimer workflow to it.  Now if I try and do anything with that project, I get this error:

Workflow jetbrains-youtrack-workTimer reports error: Can not resolve property Issue. in project JerryTest

What am I missing?
0
17 comments
Avatar
Permanently deleted user
are there docs for 4.1 somewhere???
0
Avatar
Permanently deleted user
Workflow editor shows Timer and Timer time in red with a message like: "Error: No reference in role 'fieldDescription' (declared cardinality is 1)"
0
Avatar
Permanently deleted user
FIgured out what's wrong. Bundled workflows require Timer and Timer time fields for every issue to work. There's no any mentioned about them. Found tickets that shed a light: JT-17008 and JT-15494. So to implement a timer on you project you have either create these fields and start/stop timer manually. Or update rules to track changes in issue and start/stop timer automatically.
0
Avatar
Permanently deleted user
Unfortunately the problem about Issue property originally noted still persist when fields are added
0
Avatar
Permanently deleted user
Here's a stack trace from the error log
YT_WF_StackTrace.txt (15KB)
This is when I tried to assign an issue to myself w/ the workflow attached.
0
Hi Jerry, Eduard,

did you add fields 'Timer' and 'Timer time' as this workflow requires? Without these fields the workflow won't start.
0
Avatar
Permanently deleted user
Yep, these fields are available for a project we're testing on. When I try to start timer I see the message that is originally posted as a problem here.
Screen Shot 2012-11-09 at 11.04.23 AM.png
0
It seems that the workflow requirements system didn't signalize you about the problems. I'm investigating it.

Please check manually if the field "Timer" of type 'enum[1]' has 2 values "Start" and "Stop" and the field "Timer time" is of type 'date'.
screenshot1 (1).png

screenshot2.png
0
It seems you generated the workflow with by the Workflow Editor.
Please use Workflow Editor 4.1.
0
Avatar
Permanently deleted user
I had version 4.0 but it doesn't understand at least "period" type so I downloaded 4.1. I forced upload to server from 4.1 version already.
Screen Shot 2012-11-09 at 12.32.22 PM.png

Screen Shot 2012-11-09 at 12.32.39 PM.png
0
So the error remains?
If yes please attach the workflow "jetbrains-youtrack-workTimer" ('Worfklows' screens > 'Export' in Administration) here.
0
Avatar
Permanently deleted user
0
1. Please confirm you checked 'Timer', 'Timer time' fields configuration as I described above.

2. If you detach 2 mentioned fields the requirement should appear on attaching this workflow and you should be able to apply quick fixes.
screenshot1 (2).png
0
Avatar
Permanently deleted user
Checked fields. Detached and attached back workflow without any errors. Detached fields with a warning that workflow will stop working. Verified that rules are underwaved with red when there are no fields. Detached workflow and attached it back. Two suggestions applied. Fields are added with a bit different bundles. Still see the same error.
Screen Shot 2012-11-09 at 1.11.32 PM.png

Screen Shot 2012-11-09 at 1.12.25 PM.png
0
Avatar
Permanently deleted user

Screen Shot 2012-11-09 at 1.19.02 PM.png

Screen Shot 2012-11-09 at 1.19.16 PM.png
0
You need to regenerate the workflow "jetbrains-youtrack-workTimer" by the Workflow Editor 4.1.
For this add e.g. empty line into rule 'time start' or 'time stop' and upload it on server.
Note whether the workflow "jetbrains-youtrack-workTimer" is updated on server.

This should help.
0
Avatar
Permanently deleted user
Yep, I see that requirements section is expanded with fields array. Now it works great. Thanks!
0

Please sign in to leave a comment.