M
M
Max7372021-10-18 18:07:40
JIRA
Max737, 2021-10-18 18:07:40

How to parse the description text in order to fill in the task fields based on it?

There is the following task. In JIRA, a task is born from a letter. In the letter, the value of custom fields is transmitted according to a certain rule. How and with what to parse the description text in order to fill in custom fields from it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arty_Fact, 2021-10-18
@Max737

Before asking such a question, it would be great to clarify how letters are born now and what version of the jira (cloud/server/dc).
As a slightly perverse option, you can use Automation and fill in the fields by finding the key: value (not the key) in the description. Conditionally, if "priority:blocker" is found, then set the value of the priority field to Blocker.
Of the minuses - you have to do a huge number of conditions.
A little more fun is to parse a freshly created ticket using ScriptRunner and fill in the fields.
The easiest way is to create tickets using the Email This Issue plugin and parse at the time of creation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question