JIRA REST for polling data from CRM to JIRA?

Is it possible for JIRA to make rest pol requests to CRM to get CRM's certain data into JIRA Cloud (for Project)?

I have seen ways to get data from JIRA to CRM, but how is it going to work in other direction?

 

thanks

1 answer

IMO, all you want is posting your data to JIRA as JIRA ticket/Issue.
This is possible.
you can use jira-python library (python-specific).
By that you can get your JIRA object  and create_issue().
Example snippet :

#login to JIRA first

options = {'server': 'https://jira-jira.atlassian.net'}
username = 'username'
password ='password'

 jira_obj = JIRA(options, basic_auth=(username, password)) 

Now  with this jira_obj you can create issues (by passing your CRM data)

issue_dict = {
'project': {'key': 'PROJECTkey'},
'summary': "Summary for your Issue",
'description': "description",
'issuetype': {'name': "Task" },
}
new_issue = jira_obj.create_issue(fields=issue_dict)

OR alternatively you can use JIRA rest API's 

Okay, good to know.

So, "by passing your CRM data" could be controlled through JIRA? Since, our CRM is not allowed to make posting to JIRA. JIRA has to do the polling and getting data from CRM (by plugin or any other valid method). 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published an hour ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

15 views 0 1
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you