Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Use SIL to the maximum Part 6

Part 5

Script Storage

This menu option lets you define where to store your sil scripts. You can find Vendor's information here.

By default all SIL scripts are stored in the file system (the disk option):

Screenshot 2020-05-25 at 12.35.54.png

If you choose the database option all scripts will be stored in the AO_1B54DA_TSTEXT database table.

I believe that it is better to save your SIL scripts on the filesystem because in this case you can store all your scripts in a version control system. For example, Bitbucket.

Custom Fields Mapping

You can map values of custom fields in your Jira to SIL values. You can find Vendor's information here.

Screenshot 2020-05-25 at 12.44.47.png

For example, let's have a look at the Checkboxes custom field. The value is mapped to the string[] SIL value which means that you can get a value from a checkbox field like this:

string[] value =  #{My Checkbox Field};

And you can set a value to a checkbox field like this:

string[] value =  {"value1", "value2"};
#{My Checkbox Field} =  value;

You can not change the mapping for the field because it is a standard Jira field and Cprime already provided the correct mapping for you.

Now please, pay attention to the Grid custom field (the second row in the red rectangle). This grid custom field goes from the Table Grid Next Generation add-on. Cprime does not provide a mapping for this field by default. That's why it is mapped to the string value by default but you can change the mapping:

Screenshot 2020-05-25 at 12.50.10.png

In some cases any available out of the box mapping will not work correctly. In this case you can develop a custom plugin for SIL with your own mapping. You can find more information here.

Intergration Configuration

You can create connections to Slack and Stride here and then use these connections in your SIL scripts. You can find a very good explanation how it works here.

SIL Webhooks Configuration

You can create your own REST API in this menu option. You can find a detailed explanation here.

SIL Diagnostic

This menu provides you with the overall information about your SIL engine:

Screenshot 2020-05-25 at 13.20.31.png

I believe that most of this information is needed for developers of the SIL engine, but I would like to mention a very cool feature here.

You can see all SIL threads and kill them.

Suppose, you wrote and ran a SIL script which keeps executing and takes lot's of cpu or memory resources. You can kill this thread from here.

Screenshot 2020-05-25 at 13.23.54.png

You can see that I have a thread with TID 393 and I know that this script just takes resources, I do not need this thread. All I need to do is to push the kill button. And the thread will be killed.

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

205 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you