I am attempting to grab the description of a sub-task in order to use it as a template for an extension that automatically makes sub-tasks. I need to be able to grab the description using a url. So far I am able to grab all of the pages html, but not specifically the description. I am using javascript primarily. I would like to be able to get the description without any "Hitches".
Code:
var data = null;
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://jira2.cerner.com/browse/ION-25843?As a=&As%20a=");
xhr.setRequestHeader("Cache-Control", "no-cache");
xhr.send(data);