You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.