for example: /plugins/servlet/stampgen?id=${issueId}, is there a way to pass issue key. I didn't find an API to search the issue with the ID. I find there is an API to search an issue by Key.
Assuming you are developing a servlet, use IssueManager: https://docs.atlassian.com/jira/latest/com/atlassian/jira/issue/IssueManager.html#getIssueObject%28java.lang.String%29
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
long issueid = Long.parseLong(req.getParameter("id"));
Issue issue = (Issue) issuemanager.getIssueObject(issueid);
I tried the above code. and the issue returned is null. Do you have any suggestions. Thanks!! Appreciate your help.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.