You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I am using REST API to get some information from Jira using Python. Could you please guide me how to get the fixversions of the Epics in Jira?
I am trying :
issue.fields.versions['name']
in my code to get the fixversion. Please guide.
Hello @Nikhil
Have you already executed a REST API call to retrieve all the issue data? If so, show us that line of code.
Are you trying to find an API call to get just the Fix Version data for a single issue?
Are you using python to call the native REST API, or are you trying to use the Jira PyPI package?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Attached is the code snippet that I am using to get details about issues in Jira. I have highlighted the code where I am looking for the fixversion of the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see you are using the PyPI package.
I believe the name for the field is "fixVersions". Fix Versions is a multi-select list, like Components, so to get the values from it look at the example for get Component values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share a link on how to get Component values? It would help me with some other values I am looking to get from Jira.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Examples are in the Jira PyPI package documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.