Hi,
I am writing the atlassian-express plugin using Node.js as the backend server.
I had to get the current issue id in my issue navigation/project page.
When I add below code to get the Issue Id ,
var issueId = JIRA.Issue.getIssueId()
console.log("Issue Key: " + issueId);
I am getting the error saying "JIRA is not defined".
How to solve this error?
Thanks.
You have not included or imported a library that defines the JIRA object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have no idea, I don't know what you are doing or what JIRA library you are trying to call in your code!
My instinct is that you have copied and pasted this code without knowing what it is doing. I would go back to where you got it from and read through to find out what libraries are in use.
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.