Hallo,
we are searching for solutions how to automata our complex workflows:
Example:
1. a department creates a file on the file server.
2. the content of the file is checked and the automation creates a JIRA ticket and changes a certain confluence page.
3. The JIRA ticket is assigned to a specific user as "editor" and another user receives an email about the change to the Confluence page.
4. When the editor has edited the JIRA ticket, a status change is made, which results in certain AD groups being created on the domain controller and permissions being granted.
Some steps could be made manually via REST or normal JIRA Automate Plugin, I see however that the entire "chain" of steps of this example or even more complex uses cases can be done only with ScriptRunner.
Some additionan requirements are
that the maintenance of the scripts should be as easy as possible and multi-tenancy should also be possible.
So a normal Team Lead must be able to execute the scripts without having right on the AD.
***
I think the general Limits of the following options are:
REST:
we can trigger some works in Atlassian apps it is however not possible to access external objects /AD, FileServer, Firewall/ via REST from JIRA / Confluence.
It is difficult to maintain the scripts efficiently. Work via REST is not multi-tenant-ready. More or less only the Atlassian Admins can work with it.
AUTOMATE (PLUGIN)
we can trigger some works in Atlassian apps it is however not possible to access external objects /AD, FileServer, Firewall/ via REST from JIRA / Confluence.
SCRIPTRUNNER FOR JIRA & CONFLUENCE
We can automate pretty much everything inside JIRA and inside Confluence and bidirection in both apps.
It is partly possible to call an SC-job by an external Powershell-Script and it is partly possible to operate with external entities like AD or FileServer.
This solution would be easy to maintain and would be multi-tenant-ready if the user has the requested roles ...
GENERAL SCRIPTRUNNER
This solution is easy to maintain can execute scripts in windows and linux networks and can do the jobs at other devices as well, if they can be reached via PowerShell.
This ScriptRunner has however no atlassian-optimised scripts and everything have to be developed manually.
***
Do I understand correctly the limits of the different options?
My questions are:
#1 is Scriptrunner for JIRA is able to operate outside of the atlassian products and start external powershell scripts if necessary?
#2 is it possible to trigger an jira-internal scriptRunner task from "outside"? I mean, I start a Powershell-Script in Windows and an SR-Script in JIRA is called / loaded. It is possible?
#3 Is any option to use the normal general ScriptRunner to operate in JIRA / Confluence or we have to use ScriptRunner for JIRA / Confluence (of Adaptavist) If we would like to use some JIRA Features without development of months ...
Thank you very much for your feedbacks.
Gr. I.