Welcome to our series on writing a C# app to extract data from the Jira APIs!
In this episode, we describe what we are doing (our requirements) and how our environment looks (i.e., network, Jira Server, and development computer).
In this episode, we set up the skeleton of our program - creating classes and stubbed-out functions to represent each of our requirements. Then, we wire together all the pieces and give it a test run to make sure we're on the right track.
In this episode, we tackle our first requirement by writing the function which automatically logs into Jira for us and receives back a response containing the JSESSIONID that we will use to authenticate the rest of our requests.
Now that we have an app that does something, we are ready to see its output (or errors). So in this episode, we add simple error handling and debug output.
Now that we can see the response, we can code the function that parses out the JSESSIONID and saves it for use in authenticating our calls to the other Jira APIs.
This episode is the climax! We use our JSESSIONID to call a few Jira APIs and review what they send back to us. We'll try:
With our results in hand, we translate them into a format that can be read by almost any spreadsheet, BI tool, reporting system, or even humans!
In this last episode, we simply drop our CSV-formatted data into a file, so it can be made available to other users or tools.