Hi guys, I am new to JIRA and was hoping you would help me out.
I have been using Script Runner to create a custom scripted field which would display the parent issue link/name and its current status as a field when we open one of the child tickets.
I have tried out and was able to get the parent issue key and name but I am unable to get the status of the same.
Can you let me know how to do that ? If anyone can help we with the script it would be really helpful.
Hello @Kewl Tanooj
And welcome to the community.
Can you provide your script?
To get status you can use
issue.status.name
I think get it now. I was referring to issue.getStatus().getName() in my script which wasn't obviously the right way. Still learning a lot about Scriptrunner/Groovy so have these kindergarten doubts.
Its working now. Thanks for the welcome and the assist Mark !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kewl!
I know this is an old thread but I have the same question. It would help a lot if you are able to share the script with me.
BR/
Erik
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.