Hi,
When I define an action within a rule using the following JSON code:
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.