It is recommended to use IssueService. See a sample tutorial at https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+JIRA+Issue+CRUD+and+Search
If you mean as part of a plugin, then the other answers apply. However, if you are asking how to automate various JIRA activities for intergration with other products, the JIRA Command Line Interface is a simple option. Specifically, createIssue action. Easy to program in Java or scripting languages like groovy :).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can refer this tutorial . you will need to modify it to make it compatible with Jira 5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perhaps you should start at - https://developer.atlassian.com/display/JIRADEV/JIRA+Developer+Documentation
Then you can refer this below link to create the JIRA issue programtically-
http://wiki.customware.net/repository/pages/viewpage.action?pageId=35389452
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.