Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get issue object using class in jira server?

Ramesh Lakshmanasamy January 28, 2018

i want to get Issue Object in Jira Server using Java class.

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2018

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")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events