i want to get Issue Object in Jira Server using Java class.
You could do it with the following line:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue
MutableIssue issue = ComponentAccessor.getIssueManager().getIssueByCurrentKey("issuekey")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.