Hello,
we have integrated a rule in Automation for Jira to converts the strings of the label in uppercase. This is the rule:
Trigger: when value change for customfield_10063 (it's a label field)
Rule: edit customfield_10063 with this: {{issue.fields.customfield_10063.toUpperCase()}}
The first time the rule is triggered it works fine. From the second time onward, it just add to any label a comma. So, for example:
This just goes on every time the rule has been triggered. These labels with the comma replaces those without it, ad they appears into the extractions, which is very annoying.
Am I missing somethinf here? Maybe the syntax for the custom field is not complete?
Thanks!
I'm using following config in my automation rule to force a custom field ("External recipient") to become uppercase.
Hi @Gerardo Dalena @Steven Schouppe @John Funk
are there news, if the topic from Gerardo is a bug or not?
I just tried this in my automation (cloud) - and it doesn't work there at all.
@Gerardo Dalena Are you using DC by any chance? Any other idea how to convert a string to a STRING?
Attached, how my rule looks like. The field is not converted, see audit log.
Thanks for any feedback.
Cheers, Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Never mind 🤷♂️😄
I found the reason, why I thought, it does not work in my rule.
I had to add a "re-fetch issue data" step after editing the field. After that, the content is indeed uppercase.
Cheers, Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gerardo - Welcome to the Atlassian Community!
That seems like a bug to me. Can you share a screenshot of the entire rule?
I would go ahead and submit a support ticket to Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello John,
thanks for quick reply.
I'm new to the Jira world, so I thought to have a check with the Community just to exclude any potential mistake from my side (otherwise this would have been the third reported bug in a month...).
These are the screenshot from the rule:
Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure - that is the proper route to go with Community first. :-)
I would go ahead with the support ticket as it sure looks like a but to me.
Be sure to post back here with the resolution or what you hear from support so we can close this one out at the time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much. I'm going to raise a P4 ticket and see what happens, keep you all updated.
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 @John Funk ,
Unfortunately it has been a long time since we met this issue and we lost track of this request :(
Atlassian suggested to use another smart value function to remove the extra comma (something like upper.remove(,) but I'm not sure). However, this function generate the following error in automation: "The label 'JIRA AUTOMATION' can't contain spaces". After more evaluation from Jira staff, it was concluded that Jira found empty spaces after this manipulation ad it has now opened the public bug AUTO-328.
We have moved on, not using the uppercase for the label.
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.