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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

160 views 1 3
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