Workflow Search Query

Hello,

I've created the workflow with email notification, for this I use search ('@jetbrains/youtrack-scripting-api/search'). In this method I send " var searchQuery = 'work author: ' + author.login + ' ';
          searchQuery += 'work date: ' + formatter(from) + ' .. ' + formatter(to);".

For the first time its works fine, but if I change language to Russian this does not work. Search return nothing. How can I fix this and use Russian instead of English for my youtrack?

0
1 comment
Official comment

Hello,

If you translate the instance to Russian, the search should be performed also with russian terms. Please try translating "work author", "work date", etc to the corresponding russian names. 

Hope it helps. 

Please sign in to leave a comment.