Hi,
following situation.
On Ticket creation of a Subtask Ticket (not linked) I will run an automation which is looking for a string part of the summary of the Subtask and search a "Non Subtask" Issue with the same string part in it's summary and link them.
My Automation looks like this:
1.
Trigger: On Issue Creation with the following JQL Filter (Update Schwachstellenmeldung is the subtask issue)
project = "TSM" AND issuetype = "Update Schwachstellenmeldung"
2.
Look for related Issues Rule with a JQL Search (Schwachstellenmeldung is the non Subtask Issue) (I have to use the Unicode for {,})
issuetype = "Schwachstellenmeldung" AND summary ~ "\u007b\u007btriggerIssue.fields.summary.substringBefore(' Updat')\u007d\u007d"
3.
If there is a Issue found link them
So fare so good.
The problem is that the No. 2 doesn't work well. I get the error that it expect a')' but gets an '}}'
Whats the problem here?
Best reagards,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No Problem, but there is nothing more than I describe in the text above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephan,
Why are you using unicode instead of double brackets? That is causing your issue.
It should be:
issuetype = "Schwachstellenmeldung" AND summary ~ "{{triggerIssue.fields.summary.substringBefore(' Updat')}}"
The unicode means that Automation isn't picking up the smart values and so they're being past on to Jira and Jira's JQL doesn't understand them.
Cheers,
Simeon
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.
Hi Stephan,
What is the error that you are getting? Could you provide a screenshot?
Cheers,
Simeon
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.
Hi Stephan,
Thanks for providing the error message. What versions of Jira and Automation for Jira are you running? I'm not able to reproduce this behaviour myself.
Cheers,
Simeon.
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.
Hi Stephan,
The issue here is that you're using single quotes. If you replace these with double quotes it will work correctly.
Cheers,
Simeon.
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.
Hi Stephan,
What error does that give?
We have an open bug around supporting single quotes, https://codebarrel.atlassian.net/browse/AUT-1471
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I know that you are an service employee of codebarrel.
To safe our time I can offer you a screen session to show you the problem.
Best regards,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Stephan,
If you could open a support ticket that would certainly be easier with that error.
Cheers,
Simeon
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.