Where can I find com.onresolve.jira.groovy.user.FieldBehaviours?

Hello,

I would like to import these into a classes into my intellij project:

import com.onresolve.jira.groovy.user.FieldBehaviours
import com.onresolve.jira.groovy.user.FormField

Do you know where I can find it?

Thanks,

Cynthia

3 answers

0 vote

It's in the plugin, you can add the plugin jar to your pom.

@Jamie Echlin (Adaptavist) Thank-you for your response!

I'm setting up my development environment the way you have indicated on your website.

So I'm added a dependency to the pom.xml from scripts-repositoy.

I downloaded behaviours and added the following to the pom:

<dependency>
<groupId>Behaviours</groupId>
<artifactId>community</artifactId>
<scope>system</scope>
<version>5.14</version>
<systemPath>C:\Users\clem\Downloads\Behaviours-0.5.14.jar</systemPath>
</dependency>

 

However I must have it wrong because I still can not access the FormField class.

Any ideas?

Hi,

I was trying to add the Behaviours plugin but I should have added in the scriptrunner plugin.

It works now.

<dependency>     <groupId>scriptrunner-jira</groupId>     <artifactId>community</artifactId>     <scope>system</scope>     <version>3.0.12</version>     <systemPath>C:/temp/plugin.2635070547144527531.scriptrunner-jira-3.0.12_1428696157474.jar</systemPath> </dependency> 

Thanks!

Cynthia

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

132 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you