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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,884
Community Members
 
Community Events
184
Community Groups

Error in JIRA smart value documentation (typo)

 

Here are some possible typos:

1) chartAt paragraph:  it seems the example
   {{issue.summary.charAt(7)}} -> W  
   is wrong. 
   Character W is in string "Hello World!" at position 6 (index is zero based)

2) similar errors are found at lastIndexOf paragraph

3) equalsIgnoreCase  paragraph: equals method is used in the example.

4) reverse() paragraph: the example has probably an error in result string

Source:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

3 answers

2 accepted

1 vote
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 18, 2023

Hi @janez hribar 

Thanks for reporting this.  I have created an internal ticket to have someone from the automation documentation team review this page.  In my own testing I found a few errors with the current documentation.  I expect it might take a few days to update and correct this, but I will try to update this thread once I see that this document has been corrected.

 

Cheers,

Andy

1 vote
Answer accepted
Dan Breyen
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.
Apr 17, 2023

Hi @janez hribar good catch! I don't think anyone from Atlassian saw this post yet.  I created a Support ticket to clarify the document and fix any typos.

1 vote
Dan Breyen
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.
Apr 17, 2023

The documentation is incorrect.  I've submitted a ticket for Jira Support to correct this.

They will be making the necessary changes.

Dan Breyen
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.
Apr 18, 2023 • edited

They tested reverse() and couldn't see any errors in the result string.  The other 3 issues will be corrected.  You are correct, the index is 0 based so the results are off by 1.  If this resolves the issue, could you possibly mark it as answered?  Thx.

Please fix reverse() errors in the documentation:
a) starting { character is missing in mustache expression,
b) "Hello World!" > reverse() > "!dlroW olleH"  ("!dlroW elloH" is wrong).

Suggest an answer

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

Atlassian Community Events