Workflow documentation?
I'm having lots of trouble with the workflow documentation. Right now I'm trying to link an issue to another one. I finally guessed the command as "relates to" (with a space). I assume it's right because it turned purple. However, it seems to want a . afterwards and anything I put after that just stays red. Here is what I've tried:
"issue" is blue on line 2 but red on line 3 and 4.
I can't find "relates to" anywhere in the documentation. I really can't find anything I look for. Is there a comprehensive command index somewhere that I'm missing? The one I'm using doesn't seem to be complete: http://confluence.jetbrains.com/display/YTD5/Workflow+Language+Reference
var newIssue = loggedInUser.createNewIssue(project.shortName); newIssue.summary = "Technical Debt for " + issue.getId(); newIssue.relates to.issue.getId(); newIssue.relates to.issue;
"issue" is blue on line 2 but red on line 3 and 4.
I can't find "relates to" anywhere in the documentation. I really can't find anything I look for. Is there a comprehensive command index somewhere that I'm missing? The one I'm using doesn't seem to be complete: http://confluence.jetbrains.com/display/YTD5/Workflow+Language+Reference
Please sign in to leave a comment.
I understand your frustration and I apologise for any inconvenience the doc caused you. I'll look into the problem.
As for completion for the particular workflow methods, I'd recommend after '.' please try to invoke code completion feature by Ctrl+Space, to view available suggestions.
Also, workflow editor supports Ctrl+P to invoke suggestions for possible parameters of a method.
Please don't hesitate to contact us if you have further questions.
--
Best Regards,
Kate