Forums

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

Getting custom field history based on time range

Kerli Loopman
Contributor
May 25, 2023

I have one Confluence page, that is used as weekly meeting memo and it includes Jira issues where people have filled two custom date fields and the starting date is before now and ending date after now. They also add comment directly to Jira issue custom text field "Memo comment" that will show in memo. So the data changes each week. 

Now there is an issue that they want the history for each dates to be also easily seen but currently the Confluence page shows only filter based on current state. 

I do have Jira in premium but Confluence in standard, so I don't have Confluence automation. 

Is there any way I could store historical information to confluence from the "Memo comment" text field? 

All that I can think of is:

- filter subscription that includes "Memo comment" that will send email

- or email automation

- or checking history manually from Jira issue.

How can I store the history of "Memo comment" custom field in Confluence? Jira automation allows me to generate new Confluence page on scheduled basis but since at the moment the template would contain filter that shows currently filled data, it would change all the time. As far as I know Jira automation does not let me fill Confluence page with automation with smart values from Jira issues. 

Is there any easy way without Confluence premium, plugins, API-s?

 

1 answer

0 votes
Trudy Claspill
Community Champion
May 25, 2023

The Confluence Rest API allows you to update a page:

https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-put

The Jira Automation feature supports a Send Web Request action that lets you call an API.

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Send-web-request

You could use a Jira Automation to update a Confluence page each time the Memo field changes.

I have not worked with the Send Web Request action, but here is an article on its use for accessing the Jira REST API which might help you, and I'm sure there are other community posts on the topic.

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Suggest an answer

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

Atlassian Community Events