SIL API Integration

Looking for the documentation on the newest versions of Power Scripts for Jira 8 for Server/Data Center? Click here !

This feature is available for the cloud environment only!

As you know, on cloud, we need to sign the request using a JWT in order for them to be considered valid.

Standard JWT tokens are only valid for 15 minutes. There were cases when the requests needed to be ran periodically and the time limitation was not very comfortable. Together with some of our customers we have decided to implement a way in which tokens we can generate tokens with bigger availability, so we came up with the next solution: the SIL API Tokens.

These tokens can be generated by administrators from the SIL API Integration page, with a provided availability. The tokens will be valid by the end of the day set in their configuration and, for security reasons, they are only visible at creation/update time.

The tokens can be updated or deleted.

The SIL token is an encoded string which we will decode when you run your request and which will give you access to our resources for the granted amount of time set in the configuration.

You may need to run your token through a URL encoder prior to use, if special characters appear within the token. We are currently investigating solutions to this issue.

The tokens can be used, for now, only for the SIL Webhooks calls. In order to use them, you must set the query parameter silToken to the value of the token you need to use, instead of using the JWT token. Example:

https://pscloud.cprime.com/refapp/rest/keplerrominfo/refapp/latest/webhooks/test/run?silToken=7767d0e4b56d3890aaa218425a5e965e6Po9/wLS$nexdaJ1bFpwTJvYCZ2TQM1

instead of

https://pscloud.cprime.com/refapp/rest/keplerrominfo/refapp/latest/webhooks/test/run?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjb20ua2VwbGVycm9taW5mby5qaXJhLnBsdWdpbnMuamp1cGluIiwiY2xpZW50S2V5IjoiZTAxMjEwMDAtYWViNC0zMDcwLWE3YjUtNzYyODAxZGE3NzlkIiwiaXNzIjoiY29tLmtlcGxlcnJvbWluZm8uamlyYS5wbHVnaW5zLmpqdXBpbiIsImV4cCI6MTU5MTg4NDYwOSwiaWF0IjoxNTkxODgzNzA5fQ.pO-0EK_-WfczydvCrjBZ7iZjO5tV5e1zj0199xQUxVk