Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation to Update Labels in UpperCase

Ravindra Mehta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 24, 2025

Hello,

I have a project setup in Jira cloud and there are thousands of work items already created and most of them are having one or more labels assigned. But the labels are in different cases and I want all the labels to be converted to UPPERCASE. How can I achieve that with automation?

Also I want the old original labels to be replaced with upparcase text only. No new labels should be added automatically. 

 

And in future, if Any user adds a label to the task, it should be automatically converted to Uppercase for clarity. How can that be achieved too?

3 answers

1 vote
Bharat Kalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2025

Hi @Ravindra Mehta - Welcome to the Atlassian Community. Please check here and seems like you can actually convert the values to upper case. 

https://community.atlassian.com/forums/Jira-questions/Automation-for-Jira-Rule-to-convert-a-label-in-uppercase-adds-a/qaq-p/1612540 

 

You might also hit a bug  but it's worth trying. 

Let me know if you are able to resolve it. 

 

Thanks,

Bharat

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2025

Hi @Ravindra Mehta -- Welcome to the Atlassian Community!

Short answer: As you have described the scenario, that is not easily possible.

 

Labels are case-sensitive.  If you have a work item (formerly called "issues") with an existing label with lowercase characters and want that to be uppercase a new label must be created / added and the old one removed from the work item.  To do that for the entire site, each work item would need to be checked and updated to eventually remove all of the labels with lowercase letters.

That is not likely possible with automation rules at a Standard license level as the thousands of work items you describe would take potentially hundreds-to-thousands of rule executions...running globally on a scheduled trigger until all of the work items are caught up.

For a single work item create / update event, the labels could be examined and updated.

A possible workaround would be using the REST API to get all possible labels, and use them to then identify impacted work items with the bulk-handling endpoints for search and perform updates.  In my opinion, that would be easier to build in an external application, outside of Jira, rather than trying to use automation rules for the updates.

 

Kind regards,
Bill

0 votes
Dick
Community Champion
March 24, 2025

Hi @Ravindra Mehta Welcome to the Atlassian community.

Your problem can be fixed using an automation that checks the content of the field labels

As multiple labels can be given, this field is an array of strings. This answer has already been given here at the forums

Be advised though, that you can use compounds as well. These are project-defined "labels" that are selected using a dropdown list, rather than a free-format text field. 

It would depend on your use-case which would be the best for you.

Kind regards,

Dick

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events