I want to get only the Sprint's name of an issue using jira-python
when I Type
the answer I get is
How can I just get 'Sprint 18-S08' ?
I tried issue.fields.customfield_10006.name but it doesn't work
I was able to accomplish this with a bit of regex that filters out the extra data. Hope this helps.
issues_in_project = jira.search_issues('project=ALPHA AND SPRINT not in closedSprints() AND sprint not in futureSprints()')
for value in issues_in_project:
for sprint in value.fields.customfield_10006:
sprint_name = re.findall(r"name=[^,]*", str(value.fields.customfield_10006))
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs