I need to see if I can set a ticket creation script for a specific user or Role name not just assignee or reporter?
issueFactory = ComponentManager.getInstance().getIssueFactory()
newissue = issueFactory.getIssue()
newissue.setSummary (issue.summary)
newissue.setProject (projectMgr.getProjectByKey(projectKey))
newissue.setIssueType (issue.issueType)
newissue.description = issue.description
newissue.reporter = issue.assignee
issueFactory.getIssue() return MutableIssue object. You use further methods of this class. What namely do you want to do?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.