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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Copying multiple choice field from JSM project to JS project

I have a form which allows people to create a JSM ticket.  In this form they can define a set of report types to be produced which is contained in a multi-select custom field.

When the JSM issue is created, an automation rule creates an equivalent issue in a JS project as an Epic.  A second rule is then triggered which creates a task under the epic.  I want to copy the Report Type into a field in the Task.

An extra wrinkle is that in the JSM form they can specify that the task is repeated multiple times, and a task is created for each time.  This bit is working fine.  It's the copying of the multi-select I can't get to work.

For now, I've switched this second rule to be triggered manually for debugging purposes.

So inside the for loop for creating multiple tasks if required I:
Set a variable equal to the report type value from the linked JSM issue:


This produces a value like this:

{"Lugano, PERCIST"}

I then create a task, and in the task I set the report type field (it's the same field):
"fields": {"customfield_10184": [{{{PETCTReportTypes}}}]}}

And this errors, because of course the value I'm trying to add isn't JSON.

I have read various articles and support tickets.  I think fundamentally my problem is that the values that get set in the custom field are enclosed in a set of quotes.  As in {"value 1, value 2}" whereas what I want is {"value 1", "value 2"}.


Any help would be much appreciated.

1 answer

0 votes
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 22, 2023

Hi @Greg Smart 

Is the Report Type field on the Epic, and the Task?

If yes, could you not copy the value into the Epic at creation (via automation), and then do this again when creating the Task?

That should be possible without JSON.


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events