Help to modify existing toolbox post-function

Issue #236 resolved
Will created an issue

Hi, I use workflow toolbox post-function to auto-assign issue's based on issue type. I do this because we have a web form that submits issues in to Jira. To accomplish this I use "Set a field as a function of other fields" and my source/target fields are IssueType/Assignee, respectively. This works just fine. (The out is attached as a screenshot.)

HOWEVER, if someone creates the issue directly in Jira they may set the assignee manually at the create step and then their assignee gets overwritten by my workflow. Is there a way I can suppress the post-function when an assignee field is not empty?

Thanks, W

Comments (5)

  1. Fidel Castro Armario repo owner

    Hi Will,

    You can do it using version 2.2.7_beta_5 with the following configuration:

    Captura de pantalla 2016-01-27 a las 19.08.24.png

    Setting rules used are:

    [!filledInTransitionScreen(%{00003}) AND %{00014} = "IKB"]jsaburomaru
    (!filledInTransitionScreen(%{00003}) AND %{00014} = "KC")aathomas
    

    Note that:

    • Now, we are using type 2 setting rules, while formerly you were using type 1.
    • %{00003} is field code for "Assignee".
    • %{00014} is field code for "Issue type".

    Once configured, your "Create Issue" transition will look like this:

    Captura de pantalla 2016-01-27 a las 19.14.21.png

    Please, confirm that this solution works for you, before releasing the new stable version of the plugin.

  2. Log in to comment