Hi all,
I´m currently creating a Jira automation which should run as follows:
Do you know if it´s possible to implement such a recursive request with standard tools? Smart value {{issue.key}} just returns the original id.
Thanks in advance.
Best regards
Sebastian Braun
Hello @Sebastian Braun
Yes, this type of automation is possible.
Have you tried to construct the automation? Please show us what you have so far.
That basic structure would be:
TRIGGER: Issue Transitioned
ACTION: Create Issue
ACTION: Comment on issue
Use the smart value {{createdIssue}} to access the properties of the last issue created in the rule.
Reference document: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
Hi Trudy,
thanks a lot for your quick reply!
Indeed, {{createdIssue}} was the solution, I was searching for.
There is still a little problem: Since the comment is posted externally (in customer portal), the system adds the issue link:
This is problematic since customers cannot access that link since it reference to the internal Jira.
Do you know a way just to add the issue id without the link?
Best regards
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have not figured out how to do that.
I suggest you post that as a separate question to get the rest of the community members' inputs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sebastian Braun @Trudy Claspill , I haven't tried it myself, but would {{createdIssue.key}} do it? The documentation seems to state that it would work.
HTH,
Kel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kelly,
indeed, it worked also with {{createdIssue.key}}, but only for internal issues since the link will refer to the Jira internal view, which is only accessible with a Jira licence.
My intention was to solve it for external (=customer) comments, which needs to be reflected in Jira Service Management portal.
Therefore, you need a specif smart.value which we figured out in seperate ticket, see: Solved: Issue Link in Customer Portal not useable for Cust... (atlassian.com).
BR Sebastian
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.