0

I'm using the Python Jira library jira 3.8.0 and I want to use it to evaluate the custom field customfield_10032 (story points assigned to a task issue). However, using jira.issue(), I cannot access the field.

My code looks like the following:

issue = jira.issue('MYPROJ-001') storypoints = issue.fields.customfield_10032 print(storypoints) 

This does not work, the field is not present.

I've also tried with no luck:

# Alternative 1 issue = jira.issue('MYPROJ-001', fields='customfield_10032') # Alternative 2 issue = jira.issue('MYPROJ-001', fields='all') # Alternative 3 issue = jira.issue('MYPROJ-001', fields='*all') 

However, the following works just fine (but is too slow to scale for my purposes):

issues = jira.search_issue('key = MYPROJ-001') for issue in issues: storypoints = issue.fields.customfield_10032 print(storypoints) 

Any ideas on how to make jira.issue() work for me? Thanks in advance! <3

1
  • Sadly, the Jira APIs are not well conceived. I had to use search_issue too. Commented Apr 22 at 12:56

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.