I would like to pull the resolution date (and resolution) for issues from the REST API. How can I do this? I have seen other questions about editing these fields, but I just want to read them. From what I've seen they are not technically "fields", and I don't see any examples in the documentation about how to get this information.
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.