Hello,
I've two JIRA servers A & B connected through an Application Link, so we are able to link tickets on the two servers.
Is it possible with Power Scripts for JIRA running on server A to perform operations on tickets on server B using the link between tickets on the two servers, for example :
- Update fields
- Transition a ticket
- Create a ticket
Thanks.
Regards,
Christophe
Hello @Christophe Floquet ,
There are two ways to accomplish it:
1. User SIL http routines to call Jira Rest API to create, transition and update issues.
You can find more information on http routines here.
2. The better way would be to use Remote Systems.
You can define a Remote System in your source Jira instance for the remote Jira instance where you want to create, update or transition issues. Then you would create SIL scripts in the remote Jira instance to create, update and transition issues and then you would call these scripts using the SIL call routine.
This way is much better because:
- you do not save passwords in source code
- instead of using Jira Rest API you can use SIL routines which is much simpler
- you can pass parameters to the SIL scripts from the source Jira instance. For example, the user under whom to create issues, the values of the updated issue and so on.
I made a detailed example on Remote Systems in my blog:
https://matveev.life/2020/05/25/use-sil-to-the-maximum/
Please, go to the Remote Systems part.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.