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

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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

214 views 6 0
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