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,361,182
Community Members
 
Community Events
168
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

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.

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.

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

204 views 1 6
Read article

Atlassian Community Events