Can JIRA OnDemand update custom fields using post functions in a workflow?

Ryan Thomas October 1, 2013

We have an OnDemand version of JIRA and I need to update some custom fields during my workflow. I came across this snippet sentence:

https://confluence.atlassian.com/display/AOD/Advanced+workflow+configuration#Advancedworkflowconfiguration-optionalpostfunctionsOptionalpostfunctions

"Update Issue Field: (info) Note: This post function cannot update custom fields and must be positioned after the other optional post functions."

It says THIS post function cannot update custom fields, but I'm hoping beyond hope there is a work around?

4 answers

1 accepted

3 votes
Answer accepted
Ryan Thomas October 8, 2013

Thank you @ALL !!
So, in my investigation to utilize JIRA Utilities Suite, I found that our OnDemand version had not ENABLED the Add On.

Spoke with our Sr Admin, we enabled the Add On and viola!

Thank you ALL for teaching this man to fish. I was getting ready to write my first plugin to get this done, and as you all stated over and over... It was already in our version.

To sum up:

If you have JIRA Ondemand and you do NOT have the option to update custom fields in your Post Function options, then:

Go to Manage Add Ons and enable JIRA Utilities Suite.

Cheers all!

0 votes
RambanamP
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 Leaders.
October 2, 2013

As @Nick suggest you can use Update Issue Custom Field Post-Function from JSU plugin and it is preinstalled on Ondemand instance

check this for about postfunction

https://jsutil.atlassian.net/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Post-Functions

you can check here what are the plugins available on ondemand jira

https://confluence.atlassian.com/pages/viewpage.action?pageId=315326753#AtlassianOnDemandandAdd-ons(Plugins)-JIRA

0 votes
Bharadwaj Jannu
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 Leaders.
October 2, 2013

If you like and familiar with developing a jira plugin, I recommend to build your own plugin.

Jira provides a Workflow Module which is capable of creating workflow postfunction.

https://developer.atlassian.com/display/JIRADEV/Workflow+Plugin+Modules#WorkflowPluginModules-Functions

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2013

There are some addons available in OnDemand that can update custom fields. From memory, the Jira Suite Utilities is available and can do some quite clever stuff with them (not just hard coded value, but "now" in date/time fieds and "current user" in user fields.

Ryan Thomas October 2, 2013
Hello Nic! AFAIK, OnDemand already has Jira Suite Utilities installed?
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2013
Then you should have a update custom field option in post functions

Suggest an answer

Log in or Sign up to answer