2
1
0
1 answer
- 10-1
It took some time to get it done
Example on how to use the jira interfaces to sync confluence links
- Check the snippets available [here|https://stash.idalko.com/snippets/61c5ae54f2784ae0b0fc887a6b340397]
- Add the 2 files to your <jira-home>/scripts folder
- Clink.groovy
- ConfluenceLinks.groovy
- In your outgoing sync use
ConfluenceLinks.send() - In your incoming sync use
ConfluenceLinks.receive()
That's it
Note
- It will not delete links
- It can only work on the same tracker
Please give it a try and let me know
- Jonathan
I'm using Jira cloud, I believe that it's not possible to add a script to the cloud version of jira, if it is possible, could you tell me how Francis Martens (Exalate)?
- Francis Martens (Exalate)
Alright Jonathan
The details for Confluence cloud are
To synchronize Confluence Page links and Web Links:
1. Create a custom Field of type "Single line text" for a normal project or "Short text" for next-gen projects.
2. Configure scripts
Outgoing Sync:
replica.customKeys."Remote Issue Links" = nodeHelper.getRemoteIssueLinks(issue)
Incoming Sync:
issue.customFields."Remote Issue Links".value = replica.customKeys."Remote Issue Links".collect {it.url }.join(", ")
More details available on the our documentation page
https://docs.idalko.com/exalate/x/EADBAg
CommentAdd your comment...
Overview
Content Tools
search
attachments
weblink
advanced
Hi Jonathan - Thanks for raising your question here.
Just for my understanding
Exactly