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
Community Members
Community Events
Community Groups

Extract strings from table in description and assign to fields



I have a table in Description with several rows as you can see below. I want to:

1. Extract value against Space Key - "nyleseries2" in the example and add it as a label to the issue. Space Key can be between 5-30 characters but always one string.

2. Extract value against Wiki Login in the Description field- and if the user exists in JIRA users, assign the value to Reporter field so that the user gets notified, else, skip assigning. The Wiki Login value can be what a generic email address can go for 12-40 characters I think?

I have the following value table in the description field:


KTF Tech Documentation Feedback

You are receiving this notification because documentation feedback has been submitted.


Feedback Details



KTF Tech


John Doe

Wiki Login

Space Name

Nyle Series 2.0




Getting Started

Satisfaction Score


Was Document Helpful

Reason for ScoreAll Good

How to Improve

Please consider adding more videos maybe?

Feedback Type


Allow to Contact


Jira issue submitted



In Text View of teh JIRA Description field, the table appears in Wiki markup syntax like this:


h2. {color:#ff0000}KTF Tech Documentation Feedback{color}

{color:#000000}You are receiving this notification because documentation feedback has been submitted.{color}
|h4. {color:#993300} Feedback Details{color}|h4. |
|h4. Company|KTF Tech|
|h4. Name|John Doe|
|h4. Wiki Login||
|h4. Space Name|Nyle Series 2.0|
|h4. SpaceKey|nyleseries2|
|h4. Page|[Getting Started|]|
|h4. Satisifcation Score|7|
|h4. Was Document Helpful|Yes|
|h4. Reason for Score|I found what I was looking for. Great info on this page.|
|h4. How to Improve|Please consider adding more videos maybe?|
|h4. Feedback Type|ONLINE|
|h4. Allow to Contact|Yes|
|h4. Jira issue submitted|Yes|


I have checked several resources and it seems I need to use match function and maybe something else to extract the required strings and assign. Can anyone please help?


When I try passing this value to Labels: {{issue.description.match(".*\|SpaceKey\|(\w+)\|.*")}}, I get error.

My Rule setup:



My Audit log:



0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

336 views 0 7
Read article

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