Forums

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

No display Edit button in confluence page which is created automatically by API from Jira software

sao bien June 23, 2023

Hi All,

I have a problem in below situation:

1. Postfunction in Jira Software using API to create new page in Confluence using API

2. New page is created sucessfully in Confluence, but Edit button is not display

3. I have to perform rebuid index from Admin funtion in Confluence, then Edit button can be display in New Page

Could any body have any exprience like my case?  I have to index manually daily for all automatic pages which are created from Jira software to display Edit button right now. It is not inconveniently.

Thank you,

SAM

 

 

 

 

 

1 answer

0 votes
Andrii Maliuta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2023

Hello @sao bien ,

Usually, if some data is not present for newly created entities and reindex solves this, this can mean that there is issue with performance or index queue so that Jira/Confluence cannot handle the data in time quickly.

As a workaround, you can use the Job or script to manually reindex just the page/issue you need with Java SDK so that it takes less time not to reindex all the data.

 

https://docs.atlassian.com/ConfluenceServer/javadoc/7.20.0/com/atlassian/confluence/internal/index/lucene/FullReindexManager.html

https://docs.atlassian.com/ConfluenceServer/javadoc/7.20.0/com/atlassian/confluence/search/lucene/ConfluenceIndexManager.html

Thank you

sao bien June 26, 2023

Thanks Andrii Maliuta,

But I still not clear about your solution. Now I am having post script in groovy in Jira software to create new page which based on confluence API to create new page. How to add code for indexing after creating new page?

you suggest me to create new script in java to reindex data in confluence?

Best regards,

SAM

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events