Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

We need a confluence page should be created after creation of Jira ticket that should be with data

thumuluru_shreya
Contributor
December 13, 2024

Now we can able to create empty confluence page after creating the jira ticket with Automation rule. But we need the Confluence page with the ticket details which are filled in Jira. How we can bring those details to confluence page after creating Jira ticket?

1 answer

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2024

Hi @thumuluru_shreya 

You can use Send Web Request action to create a Confluence page using the Confluence REST API and fill data from Jira as well.

POST -  https://<your-domain>.atlassian.net/wiki/rest/api/content 

In the request body, include the details of the Jira ticket by using smart values. Here is a sample


{
"type": "page",
"title": "Ticket Details - {{issue.key}}",
"space": {
"key": "YOUR_SPACE_KEY"
},
"body": {
"storage": {
"value": "<h1>{{issue.summary}}</h1>
<p>{{issue.description}}</p>
<ul><li>Priority: {{issue.priority.name}}</li>
<li>Reporter: {{issue.reporter.displayName}}</li>
<li>Status: {{issue.status.name}}</li>
</ul>",
"representation": "storage"
}
}
}

 I hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events