Update Issue Custom Field Post-Function + Checklist = Error

Hello,

I'm trying to use 2 plugins (Checklist and Suite Utilities) together.

I would like to create a Checklist, editable by everyone at the issue level (adding AND removing items). I already know there is a limitation on removing function: http://okapya.com/checklist/adding-items-in-issue

To circumvent this, I would like to initialize the checklist (=create it) during a workflow transition. I intend to use Suite Utilities, using a Update Issue Custom Field Post-Function, to fill the checklist by adding items during the transition: https://jsutil.atlassian.net/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Post-Functions#JIRASuiteUtilitiesWorkflowPost-Functions-UpdateIssueCustomFieldPost-Function

Although I think I set up the Post-Function correctly, I get the following error message: Unable to update custom field customfield.

  1. Are the 2 plugins compatible?
  2. What is the syntax to use to update the CustomField of type Checklist using the Post-Function?
  3. Are there additional requirements to add items in the Checklist using this way?
  4. I looked on the forum, and the issue the nearest to mine was this one: https://answers.atlassian.com/questions/12272557; The solution there was to use Grovvy with Script Runner. Is there are solution to my issue which does not require the use of these plugins?

Thanks by advance for your contribution.

 

1 answer

Hi Harold,

I looked at the code for JIRA Suite Utilities and, as with most workflow post function operators I have seen, they expect the value from the customfield to be a string which is not the case with Checklist. So far, the only reliable way for updating a checklist is via groovy (see this answer). I am currently developing Checklist V3 and will try to add a workflow post function to help changing Checklists without requiring any code.

Regards

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,799 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot