The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Butler: distinguish a letter from a number

Gonzalo Zapata
November 19, 2019

Hi,

I have eleven cards with number starting names in a board and I want to change only this cards.

Command I´m looking for:  `when custom field "STATUS" is set in a card with a name starting with a "number" instead a letter, for each card linked in the attachments ...`

What is the correct way to write the command how expect a {number} an not any character {*}?

If does not exist, any idea how to make it work.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Iain Dooley
Community Champion
November 19, 2019

@Gonzalo Zapata there's an (as yet) unpublished feature that allows you to use regular expressions, so this would for example match only cards that had a name starting with a number:

when custom field "STATUS" is set in a card a card with a name containing "regex:/^[0-9]+.*/" for each card linked in the attachments ... etc.

Gonzalo Zapata
November 20, 2019

Thanks Iain, works perfect.

TAGS
AUG Leaders

Atlassian Community Events