Pass parameter to Ajax call to use after response returns

Let’s say I have some data I want to pass along with an ajax call to use when the response comes in. You can pass round trip parameters in your jQuery ajax call by adding them to the options object like this

$.ajax({
 url: 'www.example.com/some-api/',
 dataType: "json",
 roundTripVariable: 'Weeeeee!',
 success: function(data, textStatus, jqXHR) {
 // will print 'Weeeeee!' to the console
 console.log( this.roundTripVariable );
 }
});

Jira Filter – See my watched issues not assigned to me

To see issues in Jira that I am watching but are not assigned to me I created a new filter

issue in watchedIssues() AND assignee not in (currentUser())

Go to the filters view, select advanced, paste in the jql provided.

screen-shot-2016-09-07-at-11-28-41-am

screen-shot-2016-09-07-at-11-28-22-am

If you want to get fancy you could add another condition to show unresolved tickets like

issue in watchedIssues() AND assignee not in (currentUser()) AND resolution = Unresolved

Running the Java Keytool on Mac

Locate your java home directory by executing in Termal

/usr/libexec/java_home

This will return the full path to your java home directory on your Mac. Change into that directory and then you will be able to run the java keytool from there.

Here is a log of what I ran in Terminal on my Mac:

$ /usr/libexec/java_home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
$ cd /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
$ keytool

keytool documentation