adding correct ajax functionality to issues context dropdown