Stopwatch-style Work Timer enhancement
I'm just starting to understand YouTrack and Workflows.
Please advise, is it possible to modify the Stopwatch-style Work Timer so that when you click Stop, it requests a user comment and saves it in the work item?
I understand that the code is executed inside GraalVM and the browser dialog window.prompt() is not available.
I believe it would be great to get something like workflow.prompt(), similar to workflow.message().
Thank you.
Please sign in to leave a comment.
Hi!
I'm Sergey from the Youtrack team. Thank you for your post.
As you mentioned yourself, you can use workflow.message() to show a message to a user. You can also use workflow.check() to prevent users from clicking stop unless they've added a comment.
You can add it to the work item description.
I'm afraid, as you noticed yourself, that's not feasible from a technical point currently.