Adding watchers

Issue #420 resolved
Scott McDonald created an issue

Is there functionality within the toolbox to add watchers based on transition, keep those watchers I just added and add a set of new watchers when a different transition is selected?

For example, on create, I had 3 watchers. Then when I select the submit for approval transition, I want 3 new watchers to be added and keep the previous 3 watchers. I would now have 6 watchers total.

I also want the ability to manually add/delete watchers at anytime.

Thank you, Scott

Comments (2)

  1. Fidel Castro Armario repo owner

    Hi Scott,

    You can do it inserting "Copy a parsed text to a field" post-function into the transitions you want to use for adding new watchers. Use the following configuration:

    Captura de pantalla 2016-10-04 a las 18.35.26.png

    where:

    • user1, user2 and user3 are user names (not to be confused with user's full name).
    • group1 and group2 are group names. All the users in those 2 groups will be added as watchers.
    • role1 and role2 are project role names. All the users in those 2 project roles will be added as watchers.

    I warn you that there is a bug in JIRA 7.0 and higher that is causing problems for removing watchers when added using a post-function.

    There are 2 issues open on this issue: Issue #386 and GHS-45491.

  2. Log in to comment