Forums

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

Difficulty accessing confluence page linked through automation rule

arantza February 26, 2024

Hi, 

When I define an action within a rule using the following JSON code:

JSON.png

My understanding is that this code sets the "Link Confluence" custom field (customfield_10346) of the issue with the URL of the page created automatically by the rule.

However, upon opening the issue, I am unable to locate the expected link within the "Link Confluence" field.

I would be grateful if you could offer guidance or troubleshooting suggestions to help me resolve this issue.

Thank you for your time and assistance.

Sincerely,

Arantza Ramos

 

 

 

1 answer

0 votes
Jehan Bhathena
Community Champion
February 27, 2024

Hi @arantza ,

Perhaps you can share a snapshot of the automation rule you've created.

Will help us reproduce the same setup at our end prior to giving an answer.

arantza February 27, 2024

Here the snapshot! Thanks!

Auto.png

arantza March 12, 2024

Hi @Jehan Bhathena 

Can you help me?

Thanks.

Jehan Bhathena
Community Champion
March 13, 2024

Hi @arantza 

Can you try to add a "Re-fetch" action before the "Edit" action?

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Re-fetch-issue-data

arantza March 25, 2024

I don´t think that this is the problem. I don´t need to update the issue during the rule execution. The problem is that the confluence link in the issue is empty, but when I access the issue JSON (https://<yourinstanceurl>/rest/api/2/issue/<issuekey>?expand=names), I can verify that the "Link Confluence" field has the value of the page I have created.

I hope that you can help me. 

 

 

 

Jehan Bhathena
Community Champion
March 26, 2024

Hi @arantza 

Seems that linking Confluence pages isn't available out of the box.

As per https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Why-is-my-field-not-editable, "Link Confluence" should be available in the createmeta API call's output to be editable. It wasn't available at my end, thus, assuming it cannot be added directly using the Edit Issue Actions.

Found this article that describes a workaround for it https://community.atlassian.com/t5/Jira-Cloud-Admins-articles/Automating-the-creation-of-a-Confluence-page-linked-to-a-Jira/ba-p/1654271

 

 

Suggest an answer

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

Atlassian Community Events