Forums

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

How to automate a multi-select user field in team-managed projects?

Petr Sigaev
August 23, 2021

We use a team-managed project (NextGen) in JIRA.

Problem

I am trying to create an automation that edits newly created issues: I want certain fields to be copied from the parent epic. My automation works with default fields like assignee and labels because I am able to pick them in the dropdown menu when creating an automation. My user multi-select field is custom and therefore doesn't show up in the dropdown menu when editing an automation. I suppose, I have to use the advanced text box to make it all work the way I need it to.

What I've tried

I've tried searching forums and copy-pasting (and editing cutom field ID or name) code other users have suggested into my automation, but that didn't work. I've also tried reading through JIRA documentation and copy-pasting (and editing custom field ID or name) code from there, but this also didn't work.

The best result I've got is automation saying it worked OK but not actually editing the custom user field. Other times I would either get an error saying 'data was not an array (customfield_10059)' or 'Error while parsing additional fields. Not valid JSON.'

Any help would be greately appreciated, thank you!

1 answer

1 accepted

1 vote
Answer accepted
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 29, 2014

For general linking of issues, you use Substitution variables and the Link field to create a link.

JIRA Agile epic links are a bit different. You need to set the Epic Link custom field to the story key - %original_key% substitution variable. Sorry for my confusion on the question earlier.

Sneha Sheth
Contributor
July 29, 2014

Hi,

I have an epic and on one transition I want three issues to be created inside the epic itself. I am unable to add the epic link value to those issues because of which they are created but not linked to the epic. I need all the three issues to show as "issues in the epic" when I view the epic. The issues may be from the same project or a different one.

Thanks, Sneha

Sneha Sheth
Contributor
July 30, 2014

Hi,

This is a bit urgent for me. Will be helpful if you can provide me a more detailed solution to the above scenario.

Thanks,

Sneha

Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 31, 2014

I corrected the answer. I should have read the question a bit more carefully.

Sneha Sheth
Contributor
July 31, 2014

Thanks Bob,

I had resolved the issue using https://bobswift.atlassian.net/browse/CSOT-97.

Thank you again for the help!

Suggest an answer

Log in or Sign up to answer