I'm just browsing in Built scripts of Adaptavist script runner plugin .
i'm trying to update Due date of issue through the script ,please find script in attachment.
but I'm getting this illegal character in path error .can someone please help ?
Hi @CHINNAMUTHEVISAI.SATYANARAYANASHARMA
From the code screenshot you provided, you have declared your issue key as:
def issueKey = "<STPS-109>"
This is incorrect.
Please remove the lesser than and greater than symbols, i.e. < and > from the issue key and declare it as:-
def issueKey = 'STPS-109'
and see if the error persists.
Thank you and Kind regards,
Ram
Hi Ram,
Thanks it worked . actually I'm learning script runner Just now .
So pardon me if its a silly question to ask.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @CHINNAMUTHEVISAI.SATYANARAYANASHARMA
No worries; everyone learns from their mistakes.
Glad to hear the solution worked. :-)
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please let me know what are some good resources to learn this coding in script runner ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @CHINNAMUTHEVISAI.SATYANARAYANASHARMA
For documentation, I suggest going through the ScriptRunner for Jira Cloud docs.
And for example codes, I suggest you take a look at the Adaptavist Library.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have not given us the part of the error message that is telling us what the problem is.
If you want an answer to this, we're going to need to see the whole error message.
(i.e. don't do screenshots, give us the plain text of the whole of the error)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue is resolved . i removed < and > sysmbols from issue key and its worked.
but can you help me out to find good resource to learn script runner in cloud ?
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.