You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe there is a way already, but is there a way to pull already created jira issues and parse the jira fields? Sort of like the below example in python but this would be just a datasource to call jira issues and gives you the raw output from the api call.
python
from jira import JIRA
def _connect():
user = config.JIRA_USER
apikey = config.JIRA_TOKEN
server = config.JIRA_SERVER
options = {
'server': server
}
jira = JIRA(options, basic_auth=(user, apikey))
return jira
def run_describe_issue(debug, ticket):
issue = get_issue_info(ticket)
for field_name in issue.raw['fields']:
print ("Field:", field_name, "Value:", issue.raw['fields'][field_name])
def get_issue_info(ticket):
jira = _connect()
return jira.issue(ticket)
The text was updated successfully, but these errors were encountered:
Maybe there is a way already, but is there a way to pull already created jira issues and parse the jira fields? Sort of like the below example in python but this would be just a datasource to call jira issues and gives you the raw output from the api call.
python
The text was updated successfully, but these errors were encountered: