Originally asked by Jens Kisters on 18 August 2021 (original question)
Hello,
we are trying to solve the following requirement:
Any new Epic should be synced from Jira Cloud instance A to Jira Cloud instance b.
In instance B the synced epics are then added to sprints.
The customer wants infos about the sprint to be synced to instance a.
my approach is is to read the issue in instance b via the jira rest api and compose a text that describes the status of the sprint.
I plan to write this string to a custom field and then sync that custom field.
If there is an easier, more out-of-the-box way to solve these please hint me to it.
If its not i am wondering on how to autheticate with the rest api when calling it from the exalate groovy script.
IOauth an option? Do you happen to have a code example for this?
If not is Basic Auth the only option?
kind regards
Jens