JIRA Behaviours Plugin

[email protected]
Newsgroups gmane.comp.java.jira.user
Message-ID <25366913.419671309272522637.JavaMail.j2ee_forums.atlassian.com@atlassian12.managed.contegix.com>
Hi!

I've installed Behaviours Plugin in JIRA 3.13.4.

The problem is that will not let me take a component in the creation screen.

I'm doing as in the explanation of the plugin page!

I attached the link of the plugin and the code:

--------------------------------------------

Link: https://studio.plugins.atlassian.com/wiki/display/JBHV/JIRA+Behaviours+Plugin
Examples: https://studio.plugins.atlassian.com/wiki/display/JBHV/Miscellaneous+Behaviours+Examples#MiscellaneousBehavioursExamples-Setcommentvisibilitylevel

--------------------------------------------

CODE (In Groovy):


package com.onresolve.jira.groovy.user

public class test extends FieldBehaviours {

    public void execute(){

        try{
       
            //HERE I'VE THE PROBLEM :-(
            FormField formField = getFieldById("customfield_11550")

            formField.setFormValue("TEST")

            formField.setReadOnly(true)

        }

        catch(Exception e){
            System.out.println("BEHAVIOUR ERROR " + e.getMessage());
        }


    }
}


THNKS!!!!
--
Post by ouuchone - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=55043
_______________________________________________
Jira-user mailing list
[email protected]
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.