Hi community!
I have two instances of JIRA and only in one of them I have ScriptRunner, in the other one I don't, and I would like to know if I can make code between the two JIRAs.
Thanks
Hi @Eduard Diez ,
what exactly do you mean by “make code between two Jiras”? What is your use case and what are you trying to achieve? Thank you.
Is fon consultan only,
def issueKey = 'TP-1'
def result = get('otherjira.atlassian.net/rest/api/2/issue/' + issueKey)
.header('Content-Type', 'application/json')
.asObject(Map)
if (result.status == 200){
return result.body.fields
} else {
return "Failed to find issue: Status: ${result.status} ${result.body}"
}
thanks @Hana Kučerová
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you.
So, you want to get issue information (using GET request to Jira REST API).
Then the answer is no, you don’t need SR installed on the second instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Hana Kučerová
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.