Hi,
I am developing a standalone gadget for JIRA with HTML and JavaScript. In which I wish to use json to get the username of current via REST API and owner of dashboard to realize the authorization.
According to https://answers.atlassian.com/questions/32731/ajax-calls-in-jira-5-0
I use a similar way to access the database. Nevertheless it does not work - the success function never works.
For the url, I use the whole name - i.e. http://.../currentUser, which could actually work via XMLHTTPRequest - but with XMLXttpRequest I could not fetch the value of a single field....So it is not usable.
Could you please help me to answer this question?
Thanks!