Forums

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

How to concatenate jira TaskA and TaskB descriptions and write it into a TaskC description

Miriam Cohen
Contributor
August 20, 2025

Hello Community,

I want to use ConfiForms to update the Description field of a Jira TaskC by concatenating the contents of the description field from two separate Jira tickets, TaskA and TaskB and pre-pending it to TaskC such that its original contents are preserved.

Let's say I have these ConfiForm field types

Jira_A is a Jira field containing simple text (ex: "Contents of A")
Jira_A_Descr is a Readonly field.

Jira_B is a Jira field containing complex text (i.e. table, links, formatted text)


Jira_C is a Jira field - the destination field whose description is to be updated

Using Jira_A, I select TaskA and have been successful in fetching the description contents (simple text) of TaskA and storing it in Jira_A_Descr using a ConfiForms Rules for Field Definition Macro where 

- Action to execute Set value
- Values to set Field_A_Descr=[entry.Jira_A.fields.description]

and then writing it out as a new TaskC description using the IFTTT Integration Rules Macro with action Update Jira Issue using the code

{
"update":
{
"description": [{"set" : "\nMy new text \r\n [entry.Field_A_Descr]"}]
}
}

I now want to be able to do something like the following

{
"update":
{
"description": [{"set" : "\n[entry.Field_B_Descr] \r\n [entry.Field_C_Descr] \r\n Original Contents: \r\n[entry.Field_A_Descr]"}]
}
}

I have tried Jira_B_Descr being a readonly as well as a textarea field, but the TaskB contents do not seem to get loaded.

Is there a different field type I should be using because the text is complex or a different mechanism / code?

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
August 20, 2025

Hi

Why do you want to copy values into readonly fields?

May be you can just access them directly?

{
"update":
{
"description": [{"set" : "\n[entry.Field_B.fields.description.escapeJSON] \r\n [entry.Field_C.fields.description.escapeJSON] \r\n Original Contents: \r\n[entry.Field_A_Descr]"}]
}
}

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events