I have a file with JIRA IDs. Without REST API skills, how do I extract Fix Versions?
Input:
BUG-101
BUG-202
Output:
BUG-101 MOD2.0
BUG-202 MOD2.1
I have a file with JIRA IDs. Without REST API skills, how do I extract Fix Versions?
Input:
BUG-101
BUG-202
Output:
BUG-101 MOD2.0
BUG-202 MOD2.1
hey, try writing a quick python script that reads your file and uses a mapping dict for each jira id to its fix version. its a simpler workaround than rest stuff. gives you good control over output. good luck!
An alternative solution involves using Microsoft Excel or Google Sheets if you are comfortable with spreadsheets. You can store the JIRA IDs alongside their Fix Versions and use a lookup function to retrieve the data for each ticket. This method is especially useful if the list is not excessively long and the data is static. Creating such a table takes only a few minutes and avoids writing code, while still automating the mapping process and ensuring consistency across the dataset.
Based on my previous experience, a good workaround is to combine a static CSV export from your JIRA system with a simple bash script. I once had a similar challenge and exported a dataset with JIRA IDs and their Fix Versions into a CSV. Then I used Unix commands like grep and awk to match the IDs from your file with their respective versions and print the output. This approach skipped the need for REST API work entirely while leveraging tools that are readily available on most systems.
hey i used a simple perl script with a csv mapping. it parsed the file and looked up fix versions. no rest api required, and it wrks fine for static lists. hope this helps!