Skip to end of banner
Go to start of banner

Simple Issue Language Reference

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Why SIL ?

If you need to customize Jira really deep, choose SIL from one of our appsPower Scripts™for Jiraand / orPower Actionsfor 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;
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;

//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

Contents

See More

  • No labels