Buy anything from HongKong - Dealextreme

You can buy any kind of electronic gadgets from DealExtreme with free shipping option.
Please visit DealExtreme for very low prices.
Here is the link to the site : www.dealextreme.com

03 March 2015

varnish-cache

Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
https://www.varnish-cache.org/ 

10 February 2015

Adding sub task control in Jira

If you want to check if subtasks are resolved during resolving the main task you can add a transition condition to the active workflow

Script workflow function : Simple scripted condition : Checks script:

import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.Issue
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.comments.CommentManager;
def subTaskManager = ComponentManager.getInstance().getSubTaskManager();
def result = true
CommentManager commentManager = ComponentManager.getInstance().getCommentManager(); 
Collection subTasks = issue.getSubTaskObjects()
if (subTaskManager.subTasksEnabled && !subTasks.empty) {
      for(i in subTasks) {
        commentManager.create (issue, "eyigitbasi", "2 " + i.issueTypeObject.id, false)
       if(i.issueTypeObject.id.equals('11')) {
          if(i.statusObject.id!=null && (i.statusObject.id.equals('5') || i.statusObject.id.equals('6'))){
           result = true
          } else {
                return false
          }
        }
      }
}
result