grepping in Powershell

Many unix/linux users are intimately familiar with regular expressions and using them with grep, sed or awk in a pipeline. A typical usage scenario is the following command: So how do we do grep in PowerShell? Well, we can use PowerShell’s operators: Operator Description -match Matches its input property agains a regular expression. By default […]

Read more
How to programatically download attachments from YouTrack

In a previous post I showed how to retrieve your bugs, comments and attachments from YouTrack. However, actually downloading each attachment is a little more work. Assume that the variable Url contains a value like “http://xxxxx.myjetbrains.com/youtrack/_persistent/yyyyy.doc?file=xx-xxx&v=0&c=false” The following raises a HTTP NotFound exception: As does this: The following will raise a HTTP NotAuthorized exception because […]

Read more
Exporting your bugs out of YouTrack

If you need to export your bug reports from your YouTrack instance, this is how to get it done using C#. Its a small example that will print all the issues,comments and attachments for each project in your instance. Don’t forget to enable the REST API in your YourTrack settings page. Create a new project […]

Read more