Hello Guys,
what is the best practice to start on Jira to manage an ERP Project ?
as you know the ERP Project is divided into Modules and each Module has many functions.
Anyone here who managed an ERP software from scratch on Jira?
Appreciate your support !
Thanks in advance.
Hello,
Did you provide com.onresolve.jira.groovy.GroovyService class from the Service. Are there no logs from your service in the atlassian-jira.log?
Hi Alexey, thanks for the response.
Could you ellaborate on this a bit more for me please
Where are these logs stored as I tried looking for them.
Many thanks
Tyler
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kindly read this KB to find the log location:
https://confluence.atlassian.com/jirakb/where-are-the-application-server-logs-695240952.html
You can read more about ScriptRunner services here:
https://scriptrunner.adaptavist.com/4.3.0/jira/services.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your second link, I did all of this.(you can see in the screenshots I provided)
I will look at the logs now and see what was outputted if it was.
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexey Matveev there is nothing within my logs related to this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is strange. It should work. Make a simpler script with log.error("my script output"). Add it as it is explained in https://scriptrunner.adaptavist.com/4.3.0/jira/services.html and have a look at the logs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexey Matveev do you think my file path could be incorrect within my service i set up? please check the screenshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexey Matveev
I finally managed to find a log input for this
IHNE.run(IHNE.groovy:17) is the following: "
def estField = ComponentAccessor.getCustomFieldManager().getCustomFieldObject(11401)"
2018-06-04 23:05:00,010 Caesium-1-2 INFO anonymous no estimate - send email [c.o.jira.groovy.GroovyService] groovyService.run
2018-06-04 23:05:00,127 Caesium-1-2 DEBUG anonymous no estimate - send email [c.onresolve.jira.groovy] start of code
2018-06-04 23:05:00,233 Caesium-1-2 ERROR anonymous no estimate - send email [c.o.jira.groovy.GroovyService] Script service failed: D:\Atlassian\scripts\IHNE.groovy
groovy.lang.MissingPropertyException: No such property: issue for class: IHNE
at IHNE.run(IHNE.groovy:17)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to change the line to:
def estField = ComponentAccessor.getCustomFieldManager().getCustomFieldObject(11401L)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tyler Brown-Jones I saw you tried to bump the thread, did you see Alexey's suggestion above?
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 a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.