Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.