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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

506 views 8 9
Read article

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