content in development
things to mention:
- we are launching it with the promotional pricing for the first three months + communicate price increase in 3 months
- roadmap of what we'll implement soon
- Put "beta" in the name, it might be buggy, work with us, help us know what to improve
- Give comparison of the PS server and cloud
- Provide a place for people to submit their ideas for the next features - products@cprime.com + link to our JSD
- Alexandra Topoloaga (Unlicensed) to clarify how a user can access the getting started UI page and how to access the ps config page,
- Admin Adminovich (Deactivated) to document both in the getting started doc page.
- Reset status - Alexandra Topoloaga (Unlicensed) will clarify what it does
This page will help you get started with the product and in case you need any additional assistance, do not hesitate to reach out to us or email us at products@cprime.com.
Where to begin
You can work with the scripts in several ways:
- Write a new script from the SIL Manager page
- Go to the project settings > Workflows and
To demonstrate these options, we will show them on a simple examples: assigning a ticket to the current user when the ticket is transitioned from "To do" to "In Progress", and from "In Progress" to "Done".
Write a new script via the SIL editor directly
- Click SIL Manager from Jira home.
- You have several options: to create a new script within new file or folder, or to use the already existing script.
- To create a new script within new file perform the right click on the silprograms folder. Select New File.
- Give a name to your new script.
- Write the script. In our example we write script to see the changes on issue description and assignee while status transition. Click Check to confirm the syntax.
- Click Save to finish configuration.
- To use script in post function follow Adding an existing script via the workflow steps.
- That's it.
Adding an existing script via the workflow
- Go to Settings > Projects > Projects > My project > Workflows.
- Click Edit in the Actions column.
- Display it as Text. From the diagram view pick up transition you'd like the script works for. For example, to go from 'To do' to 'In Progress', 'In Progress' to 'Done' and so on.
Note: Step Name(id) column represents where to start from, Transitions(id) column represents where you go to. - For the Step Name In Progress click Done in Transition column to define a post function for 'In progress to Done' change.
- Click the Post Function tab and click the Add post function link on the right side of the screen.
- Select SIL Post function.
- Select use an existing script, unmodified from the bulleted list. Click Next.
- Select the script you created beforehand. Click Next. Then click Add.
- Changes will not be implemented until the created draft is published. Click Publish Draft.
- Warning message will appear to check if you'd like to backup project copy. Click Yes and Publish.
- That's it. You can see the transition changes now in your issues.
Adding a new script from the project workflow
- Go to Settings > Projects > Projects > My project > Workflows.
- Click Edit in the Actions column.
- Display it as Text. Pick up transition you'd like the script works for. For example to go from 'To do' to 'In Progress', 'In Progress' to 'Done' and so on.
Note: Step Name(id) column represents where to start from, Transitions(id) column represents where you go to. - For the Step Name To Do click In Progress in Transition column to define a post function for 'To do to In Progress' change.
- Click the Post Function tab and click the Add post function link on the right side of the screen.
- Select SIL Post function.
- Select create a new script from the bulleted list. Click Next.
- Put file name, let's say 'Test script from to-do to in-progress'. Select silprograms directory. Scroll down to click Next.
- Write your script. For instance, to change issue description or assignee during transition. Click Check to confirm the syntax is correct and Next to save the settings.
- Click Add to proceed.
- Changes will not be implemented until the created draft is published. Click Publish Draft.
- Warning message will appear to check if you'd like to backup project copy. Click Yes and Publish.
- That's it. You can see the transition changes now in your issues.
+ link for currentUser() routine
+ give 1-2 script examples and a few links as examples for the routines
...
UI elements
Power Scripts Getting started page
page is in development, document it when it's there
To access the Getting started page:
- Go to Settings > Add-ons > Manage Add-ons.
- Locate Power Scripts.
- Click Getting Started.
Power Scripts Administration page
To access this page:
- Go to Settings > Add-ons > Manage Add-ons.
- Locate Power Scripts.
- Click Configure.
Here you can configure the basic parameters of SIL. All fields on this page are required.
Parameter | Description |
---|---|
SIL Home Directory | SIL Home Directory can be a absolute directory or one relative to the home of the container. Full path on the server : /opt/apache-tomcat-8.0.50/powerscripts/silprograms |
Charset | US-ASCII Cahrset which will be used to interpret all text resources |
SIL Cache | 128 Cache size determines how many SIL scripts are kept already parsed, in memory. LRU is used. If zero, it is disabled |
Power Scripts Status page
Power Scripts - status page showing you:
- Status - shows you the status of the app. Here you can see the error if something went not as expected, for example of a connection wasn't established.
- The maximum number of users as detected from the engine. This is not your license tier!
- The number of postfunctions per second handled by the engine -
- Reset status -
- Adjust status - the size of the machine you use will be adjusted to your usage
SIL Manager page
SIL Manager page contains SIL editor and is a central point where you develop your scripts. For all scripts that reside in the virtual directories, this tool offers all the power of SIL at your crafty fingertips
To ensure for convenient script writing and text editing, this page has the following useful features:
- syntax highlighting,
- autocomplete,
- you can check your scripts
- Source file management across all defined trees
Features in Power Scripts for Jira Cloud
With the beta release, a handful of features is available already and at a reduced pricing, and many more are coming along too!
Feature / Area | PS Server | PS Cloud | |
---|---|---|---|
1 | Add, edit, delete SIL scripts | ||
2 | Harness the power of Jira without programming knowledge | ||
3 | SIL post-functions | ||
4 | Event listeners | in our roadmap! | |
5 | Sync with remote systems | in our roadmap! | |
6 | Workflow viewer | ||
7 | Schedule scripts to run on an interval or as a CRON job | in our roadmap! | |
8 | JQL Support | in our roadmap! | |
9 | LDAP support | | |
10 | Routines | and many more coming soon! |
Pricing
Power Scripts for Jira (cloud) is available with the Early Bird promotional pricing during the first three months and the price will increase. Enjoy the low prices now!