Simple Issue Language™ usage

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Why SIL ?

If you need to customize Jira really deep, choose SIL from one of our apps Power Scripts for Jira v4.0 and / or Power Actions for Jira. The top reasons to use it are:

  1. Really delivers fast.
  2. Shields you form the Jira internals.
  3. Consistent from version to version.
  4. Extensible (routines and custom fields).
  5. Covers many other commercial apps functionalities.

Choosing SIL is a smart thing to do:

  • If you really care about standard programming practices, you can move workflows from test to production environments very quick.
  • Scripts can be easily adapted and modified on the fly.
  • You pay only once, then you can cover countless customizations, that otherwise would require a dozen of apps.
  • It is supported and you have the power.

This is the best option you could have for Jira customization.

Example


Below is a short example so you know what to expect:

string k;

assignee = "admin";
reporter = assignee;
created = currentDate();
description = "some description";
dueDate = currentDate() + "1d";
env = "environment";
estimate = "2d" + "3h";
originalEstimate = "1d 4h" + "21h";
priority = "Critical";

if(not contains(summary, "test")){
    summary = "test " + summary;
} else {
    summary = "random summary assigned";
}

spent = "2d";
updated = currentDate() - "1d";
votes = votes + 1;
workflow = "TWFLScheme";

if(issueType == "Bug"){
    issueType = "Task";
} else {
    issueType = "Bug";
}
project = "TSTP";

//Custom fields here
UPPG = "admin";

//time interval custom field
if(isNull(tt1)) {
    tt1 = estimate + "1h";
} else {
    tt1 = tt1 + "1h";
}

//number custom field
if(isNull(cfnumber)){
    cfnumber = 1;
} else {
    cfnumber = cfnumber + 1;
}

//create routine
k = createIssue("TSTP", "", issueType, "auto-created issue");
%k%.votes = %k%.votes + 1;

//autotransition
autotransition(721,key);
//or:
//autotransition("Send report","PRJ-123");

Do not worry if all is not clear from the start, it will all make sense after you finish reading this guide.

See also

SIL™ Template language