Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,386
Community Members
 
Community Events
184
Community Groups

What is name of the property to extract fixversion of epic?

Edited

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.

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 29, 2022

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?

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.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 30, 2022

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.

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.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 01, 2022

Examples are in the Jira PyPI package documentation. 

https://jira.readthedocs.io/examples.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events