Hi,
I want generate a mail from Jira when an issue status changes. The mail should contain a URL link to the first linked Confluence page of the issue. This link is always generated, when the issue is created. I can use Automation for Jira or ScriptRunner.
Is there a way to access this issue property from Automation or ScriptRunner?
JP
Hi @Jan-Peter Rusch,
I think you should be able to do this with ScriptRunner (although I didn't try it).
You can send an email as postfunction or from a custom listener.
And to get that link, you should be able to get the linked pages and then select the right one.
I know this is pretty much theory, but maybe someone else can give you a more detailed example.
Hi,
it turned out that this was easier than expected. This pageID of the Confluence page was already stored in a custom field.
So I used:
<a href="https://THE_CONFLUENCE_SERVER/confluence/pages/viewpage.action?pageId={{issue.customfield_11601}}">LINKTEXT</a>
in a Automation for Jira action creating a HTML email.
Thanks,
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.