Jul 1, 2011
We use JIRA at works to track issues (duh :)). What I need to do a lot is copy the key and summary of an issue to use as a checkin comment. If you copy paste it from an issue page you end up with this:
PRJ-234
This is the summary of the issue
But what I really want is this:
PRJ-234 - This is the summary of the issue
Read More...
May 3, 2011
I just entered my JIRA Database Values Plugin in the Atlassian Codegeist competition. You can view my entry here: http://codegeist.atlassian.com/entry/167349
I uploaded a video with it to make it more visual. I was quite surprised to find it so easy to do on my Ubuntu (just updated to 11.04).
Installed recordMyDesktop to do the actual screencast recording:
sudo apt-get install gtk-recordmydesktop
This will install a program shortcut called 'Desktop recorder'.
Read More...
Apr 11, 2011
A new JIRA Database Values plugin has been released, see https://plugins.atlassian.com/plugin/details/4969 for download.
The major change is compatibility with JIRA 4.3.
There are some additional minor improvements like:
Use the internal JIRA db if no connection parameters are defined in the properties file
Honor the sort order used in the SQL query when using cascading comboboxes
Fix for Z-order if the AJAX popup appears over some other elements (thanks to Edgars Fabricius for providing a patch)
Read More...
Feb 7, 2011
For our flex application, I had a 'cc' field that could handle multiple email addresses. When adding validation, I first used the standard EmailValidator class. However, this would not work as soon as you want to add multiple email addresss, like:
foo@company.com;bar@company.com
Luckily, creating a custom validator to handle this case is quite easy:
import mx.validators.EmailValidator; import org.as3commons.lang.StringUtils; /** * This validator allows validation of multiple email addresses * that are separated by a semicolon (;) */ public class CompositeEmailValidator extends EmailValidator { public function CompositeEmailValidator() { } override protected function doValidation( value:Object ):Array { var result:Array = []; var emailsString:String = String( value ); var emails:Array = StringUtils.
Read More...
Jan 20, 2011
I am very proud on this new release of my jira database values plugin. Not only does it have a bunch of really nice additions (which I am going to explain a bit more in detail here), but there are also a lot of people that have helped this release by providing bug reports, patches, …
1) JQL Function to search on 'secondary' attributes
I am most proud of this one, because I think it will be really useful to a lot of people.
Read More...
Jan 13, 2011
I have just finished implementing a custom JQL query for the jira database values plugin. It allows to search on anything you want related to the value you have in your custom field.
Take the example of a "Customer" custom field that links to a customer table in a database. Previously it was not possible to search for all issues linked to the customers from a certain country for example.
Read More...
Dec 10, 2010
The new IntelliJ IDEA, called X, is out and there are lots of new goodies in there. For my day-to-day job, the most important is the improved Flex support.
I work on Ubuntu 10.10 and by default IntelliJ does not look that great. This is a screenshot of the file menu:
Go to File > Settings and select Appearance in the list. Check the Override default fonts by checkbox and select 'DejaVu Sans' from the list of fonts:
Read More...
Nov 29, 2010
As a long time Java programmer switching to Flex, I have had some real gotcha moments. I want to share a few so you don’t fall into the same pitfalls as I have done.
Casting
Equals (or the lack of it)
Setter optimization
Casting
In Java, you cast an object to a class or interface as follows:
Object obj = ... String str = (String)obj; In Flex, you have 2 ways to do it:
Read More...
Oct 18, 2010
If you use Maven, you most probably use the excellent flex-mojos plugin to build your flex code. This post will show you how to expose the test code (that does not get included in your normal swc or swf) to other maven modules or projects. This is most useful on bigger projects where you might have some abstract test classes you want to share or builder classes for complex domain objects that you need to create over and over again in unit tests.
Read More...
Oct 13, 2010
Quick update: there is a new release of the JIRA Database Values Plugin 1.1.1 because there was an issue with 1.1 if you had issues without a value assigned for your custom field. Download the new version here: https://plugins.atlassian.com/plugin/details/4969
Read More...