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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.