Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence automation to jira

Yves Defossez September 13, 2024

Hi,

 

I am completely new to this part of Confluence and Jira but as an organization we want to set up a link between confluence and jira.

We have a confluence page where people create "actions". Via automation I can create a Jira ticket based on these actions but we also want to include the confluence page link into the "add web link" field.

Via the automation I can add the link to the description field but not to the "web links" section. I think that a "send web request" action inside the automation rule can solve this problem but don't know how to do this.

 

So I have the following:

When task is created -> certain condition -> then create new Jira task -> send web request.

 

The "send web request" action needs to first get the Issue key which was just created by the same automation rule so I use the following:

web request URL: <atlassian url>/rest/api/2/field/{{createdIssue.key}}
Get method
Body: Empty

 

Then, I need to use this issuekey to edit that issue's web link section.

I hope this is somewhat clear and is possible within Jira.

1 answer

0 votes
John Funk
Community Champion
September 13, 2024

Hi Yves,

This previous post was not resolved yet, but maybe there is a hint in there for you. 

https://community.atlassian.com/t5/Jira-questions/Add-Weblink-To-JIRA-Using-Rest-API/qaq-p/1233689

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events