Posts

Showing posts from 2015

How can TeamCity generate Release notes from JIRA during a build

Image
How can TeamCity generate Release notes from JIRA during a build Problem :  I want TeamCity to generate release note list during the builds. I am using JIRA to store my user stories.   Solution: I am going to create a PowerShell script that will query all my closed items (using JQL ), then store that list in my DB (via POST API ) Steps: 1) Create a power PowerShell script that will:         a) Call a search JIRA API to query my items using JQL         b) Post the results to my Web API. 2) Create a local API that will take a post request that contains a list of items 3) Call your PowerShell script from your JIRA and pass to it your parameters  STEP 1.A & 1.B: Create a PowerShell script that will take few parameters: User name password domain  Your Web API  Server name You can modify this script to add more parameters if you want. Here is how you will call your PowerShell script (for testing) PowerShell.exe  -File "C:\