I am trying to create an automation for Jira, its mostly pretty basic.
I have a "template" jira issue that we are using.
My automation is:
Manually trigger
Then lookup issues > key=ABC-123
And create new Task
In the description box I have :
{{lookupIssues.description}}
This is working and pulling in the correct information.
However I have Confluence content links that I need to pull in as well. I can not figure out how to get this pulled in.
I have tried to set Confluence (Link) with a number of values and can not figure out what is the correct value. Currently I have {{lookupIssues.url}}
I have tried {{lookupIssues.contentlink}} and others. I have tried to plug them into the description field to see if I can get anything to pull in. I have been unsuccessful.
Any assistance would be appreciated.
Hello @Jeanna Knowles
You could use a Send Web Request action to call the Jira REST API to retrieve the Remote Links for the template issue.
You would have to parse the output to pull the Confluence links from it.
There is not an action in Automation to create a link to an existing Confluence page from a Jira issue. You would have to use Send Web Request again to call the API to create the link between the new issue and the Confluence content.
If you've never worked with Send Web Request before, there is an article about it here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a similar problem and wanted to ask for help. :)
We are trying to set up an automation that clones a Ticket and also clones the Confluence Pages linked to the cloned Issue.
I didn't find out how I can get these links.
Could you maybe help me? My problem is I can't manage to get the right idea for the code, even after looking up the linked pages above.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Trudy already described the solution in her first post: call the REST API endpoint to get the external links, using the Send Web Request action, and parse out the ones for Confluence. I believe they appear with the relationship type of "wiki".
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, there isn't a direct Smart Value specifically for Confluence content links. However, you can try to include the content link in a custom field or within the description of the template issue itself, which then can be referenced.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.