For anyone here who has used Jira-Python, if I'm using vim to edit my code, how do I display all issue fields for my project?
Here is the link of the doc
and attached picture shows all the common fields of an issue but my companies fields might be different.
I would go this way:
project_keys = ['Zen']
issuetype_names = ['Task']
meta = jira_instance.createmeta(projectKeys=project_keys,
for x in meta:
Basically gives you all info, datatypes, options etc. attached to the individual fields in the corresponding project/issuetype. This also gives you the field name to the customfield_123456 fields, translations etc.
You can use
to get all the results obtained in the JSON object as raw string. Its not as pleasant to view, but will provide you with what you're looking for. Take a look at this stackoverflow solution and see if you find your answer, cheers.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events