Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Activate batch or compareable code from JSD

akunnari January 25, 2021

Hello,

 

I would like to execute a .dll file from my agent view screen via button press. Is there a way to import a .dll function with ScriptRunner and where does the .dll file have to be, to be importable?

 

Thanks

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2021

Dynamic Link Libraries are literally libraries of functions that need to be called within an appropriate execution framework.

Java does not have such a framework built into it (most are operating specific, which defeats the point of Java) and neither does Jira.

You'll need to provide the entire execution framework outside the system, then write something the make the calls into the dll on the command line.

akunnari January 29, 2021

As far as I've seen there are some libraries offered for example http://jni4net(dot)com/ which atleast promises to provide an interface between Java and .NET and since groovy is pretty much java, shouldn't it be possible to just use jni4net to execute the dll?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events