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?



1 answer

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

119 views 2 0
Join discussion

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