How to se up a dev environemment with Intellij To maintain a scriptrunner code (datacenter)?

Hello,

A beginner’s topic.

I want to maintain/enhance some scriptrunner code in a jira datacenter instance.
Working through scriptrunner interface can be exhausting. I want to do it through Intellij and connect it to the bitbucket where code is stored.

But first, I can not set up easily the dev environment.
I don’t know how to integrate the Atlassian SDK into Intellij to have auto-completion etc.

I didn’t find any easy tutorial on internet, so I’m seeking help here :slight_smile:

Cheers

Adaptavists’ instructions are pretty good for this case:

https://docs.adaptavist.com/sr4js/latest/best-practices/write-code/set-up-a-dev-environment