You'll want to use the REST APIs to talk to JIRA. I often point at the documentation for those, but the examples and tutorials are often more useful - https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials - and they're part of the doc tree, so you can get to the other stuff quickly from there.
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