SLA custom field syntax

Issue #741 new
Mallory Earnshaw created an issue

I want to create a post-worklow rule using an SLA Custom field. I've successfully created the field in Jira Service Desk ("my custom sla") and the field appears in the list of target fields in the "Set a field as a function of other fields" config screen.

I'm not sure what to do next though since I can't find documentation on https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/Virtual%20Fields about how I should go about changing the SLA data in that field.

I want to tell the SLA clock to stop when this transition is executed.

It's a transition to the same state as before so I can't use the normal SLA stop configuration options.

Can you advise how I should proceed?

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi @chris_epro,

    You don't use JWT for setting the Start, Pause and Stop actions in JSD's SLA. To do it you should use JSD native SLA feature, like shown in the following screenshot:

    Captura de pantalla 2017-08-17 a las 17.29.36.png

    You can also refer to JSD's official documentation: Setting up the SLA time metric.

  2. Mallory Earnshaw reporter

    Thanks for the quick response.

    The problem is that the native SLA feature doesn't support stopping when custom fields are changed (or anything else more complex than a status change or a couple of other pre-determined options). I've found JWT to be pretty cool for automating other Jira workflows that aren't supported natively so I thought this might be possible too but it sounds like this isn't a supported feature in JWT yet?

    Thanks, Chris

  3. Fidel Castro Armario repo owner

    Yes, @chris_epro, it's not supported to start and stop SLAs using post-functions.

  4. Log in to comment