Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira - Rule to convert a label in uppercase adds a comma

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:

  1. type the word "Hello" in the custom field, it works ok.
  2. add the word "Hi" in the custom field, this appears as "HELLO, HI"
  3. add the word "Bye", this appears as "HELLO,, HI,, BYE"
  4. add the word "Farewell", this appears as "HELLO,,, HI,,, BYE,,, FAREWELL"

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!

1 answer

0 votes
John Funk Community Leader Feb 15, 2021

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.

https://support.atlassian.com/contact/#/

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:

1.PNG2.PNG3.PNG4.png

 

Thank you very much.

John Funk Community Leader Feb 15, 2021

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. 

Thank you very much. I'm going to raise a P4 ticket and see what happens, keep you all updated.

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,071 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you