I tried to downloal the SCRIPT RUNNER plugin from my jira application and through net also but i amunable to downlaod this plugin.
I amgetting this message "Script Runner" cannot be installed by the UPM. Visit the plugin homepage to read the installation instructions:
please help
Nagmani
Guess what! It can't be installed by UPM. Visit the plugin homepage: https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner#ScriptRunner-Installation to read the installation instructions.
And you gave the plugin a downvote too... brilliant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One reason why there should be an option to challenge the down votes on the plugin exchange!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well you can report as inappropriate... I did that, we'll see if they remove it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have gone through the link you have mentioned above..but still I have a problem and that is the script runner plugin is in zip format and you mentioned that .jar format (groovy-runner.N.jar) of groovy runner need to be downloaded and placed in WEB-INF/lib .so how do i do that as .zip format is available not the .jar format.
I kept the zipped format in the same folder (as .jar was not available in your link) but it is not working.
Need your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be using Internet Explorer and not a proper browser? If so just rename it back to .jar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot jamie..It was because of IE..Gr8 help..:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have gone through the the installation guide and installed whatever is required for following code to run on JIRA but Still I am not finding the correct way to use this code as I didn't get any additional post function under workflow. Can you help me with this code which you have posted against an answer to creation of automatic pages in confluence for any issue in jira under the same project....This is the code you have mentioned
package examples import org.swift.common.soap.confluence.ConfluenceSoapServiceServiceLocator def locator = new ConfluenceSoapServiceServiceLocator() def service = locator.getConfluenceserviceV2(new URL("http://confluence.acme.com")) def token = service.login("admin", "password") def page = service.getPage(token, "MYSPACE", issue.summary) page.content = issue.description service.updatePage(token, page)
I am very new to JIRA and confluence so don't have much idea of how to implement this code....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid I don't have time to walk you through it unless you're willing to self-help. As I said in the other thread, it sounds like you are better-off waiting for a non-progamming solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have resolved the above issue as such..Thanks for your help and this plugin is really of great work..
Now I am facing one problem that is whenvever I run the baove code in jira with all modifications required I get following error..
"javax.script.ScriptException: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages"
I have changed the url to the one of confluence of my srever still the problem exists..
any suggestions from your side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have resolved the above issue as such..Thanks for your help and this plugin is really of great work..
Now I am facing one problem that is whenvever I run the above code in jira with all modifications required I get following error..
"javax.script.ScriptException: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages"
I have changed the url to the one of confluence of my srever still the problem exists..
any suggestions from your side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Are you able to see any output when you simply return some value, like inserting a code return true in the area provided for your script by selecting the groovy radio button. ?
just to check whether you did this step properly.
Download Groovy. Copy <GroovyDistro>/embeddable/groovy-all-n.n.n.jar to WEB-INF/lib. Groovy 1.7.10 recommended.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes I have tested this script post function for a sample code returning a value and it worked properly but for the code of my interest(which I have posted) its showing above error...
Thanks for your concern
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jamie,
Sorry about the downvote,I shall revise the voting shortly. I tried implementing the code but encountered 404 error on script runner while accessing the URL defined on
def service = locator.getConfluenceserviceV2(new URL("http://localhost:8090/confluence/rpc/soap-axis/confluenceservice-v1"))
I have confluence on my local system & it is on same port. I access it thru URL http://localhost:8090. Is there anything I need to enable on confluence to expose soap-axis? I have enables remote API access already.
Your help is very much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You probably need to remove the /confluence if you've installed it yourself.
Double check you can browse to http://localhost:8090/rpc/soap-axis/confluenceservice-v1?wsdl
and then try http://localhost:8090/confluence/rpc/soap-axis/confluenceservice-v1?wsdl
Use whichever works, remove the ?wsdl.
If that works check that jira is not using a proxy server, ie you have not set one up in your setenv.sh. Also try using the FQDN of your host instead of localhost.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am unable to access http://localhost:8090/rpc/soap-axis/confluenceservice-v1?wsdl and http://localhost:8090/confluence/rpc/soap-axis/confluenceservice-v1?wsdl even after removing the ?wsdl.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the problem is in the line
def token = service.login("admin", "password");
as I have debugged above lines individually and the message: "javax.script.ScriptException: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages"
comes after returning token value after this code.
Please Help out to get any feasible solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This works for me:
import org.swift.common.soap.confluence.ConfluenceSoapServiceServiceLocator def locator = new ConfluenceSoapServiceServiceLocator() def service = locator.getConfluenceserviceV2(new URL("http://localhost:8090/confluence/rpc/soap-axis/confluenceservice-v1")) def token = service.login("admin", "admin") def page = new RemotePage ( content: issue.description, creator: "admin", title: issue.summary, space: "DS", homePage: false, created: Calendar.getInstance(), modifier: "admin", version: 1, modified: Calendar.getInstance(), ) service.storePage(token, page)
Could of problems I had was that I had a system proxy set so localhost didn't work. And make sure you copy the jar from Bob's plugin I mentioned: confluence-soap-4.0.0.jar
I never got the error you got.
Now, could you: a) remove your downvote from my plugin and b) if you have further problems create a new thread or return to the other thread you created when I put my sample code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks jamie..and sorry for the down vote..I couldnot find the way to remove it...But that will be done soon.
And I think this code could work..Still the problem exists.
could you please contact me on my email id nagmanisinha1988@gmail.com or skype name nagmani_sinha because I really need your help as I am new to Groovy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't want to leave you hanging, but I'm not going to be doing that unless I'm getting paid, and I'm not taking paid work right now. You need to start a new thread and actually include the error you are getting, and answer the questions in my comment above. I'm asking you questions so that you can help me help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again Jamie,
I have posted the question in new thread and need your help https://answers.atlassian.com/questions/31213/problem-creating-remote-pages-in-confluence-usin-jira-both-on-my-local-server
Please go through this and see if you could help...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would look forward for your in that link..And I have removed the downvote too..That was just a mistake..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have resolved the above issue as such..Thanks for your help and this plugin is really of great work..
Now I am facing one problem that is whenvever I run the above code in jira with all modifications required I get following error..
"javax.script.ScriptException: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages"
I have changed the url to the one of confluence of my srever still the problem exists..
any suggestions from your side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.