Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-15297

Add Conditions, Validators, Post Functions to the Clone, Edit operations

    • 103
    • 30
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Each Workflow step can have Conditions, Validators, or Post-Functions associated with them. Having these features associated with the Clone and Edit operations would allow easier manipulation and greater control of issues:

      • Associate a permission with the Clone permission to restrict who can clone on a per-project (or global) basis
      • Add a Clone post-function to delete certain fields that would be undesirable
      • Check the value of a certain field is populated after an edit (or process the field contents)

      In my particular use case, I wish to see a series of custom fields be cleared out when an Issue is cloned from another.

            [JRACLOUD-15297] Add Conditions, Validators, Post Functions to the Clone, Edit operations

            Any update on this? Would be really really helpful. 

            chandrakant ckz added a comment - Any update on this? Would be really really helpful. 

            Any update on this request?

            Pillai, Aarthi added a comment - Any update on this request?

            is it possible for you to share this script. I have a real nead to clear issue cloned because i have many specific field that have to ne eset .

            PARISATO Marie-Hélène added a comment - is it possible for you to share this script. I have a real nead to clear issue cloned because i have many specific field that have to ne eset .

            Rich Scire added a comment -

            I use ScriptRunner to clear fields when an issue is clone cloned. I assume that using global/project automation could do the same thing.

            Rich Scire added a comment - I use ScriptRunner to clear fields when an issue is clone cloned. I assume that using global/project automation could do the same thing.

            jodi.klein added a comment -

            This feature would be extremely helpful.  It would be great to be able to exclude fields from being cloned at the field level.  

            jodi.klein added a comment - This feature would be extremely helpful.  It would be great to be able to exclude fields from being cloned at the field level.  

            Floored this currently does not exist.

            I vote YES on implementing this feature. 

            Derek Lopez added a comment - Floored this currently does not exist. I vote YES on implementing this feature. 

            As futile as this seems, I definitely VOTE for this feature.  Since I have a couple of other requests that have been 'gathering interest' for many, many months, I am pessimistic of this happening.  However, I will hope for the best!  Thanks for the consideration!

            Trixie Johnson added a comment - As futile as this seems, I definitely VOTE for this feature.  Since I have a couple of other requests that have been 'gathering interest' for many, many months, I am pessimistic of this happening.  However, I will hope for the best!  Thanks for the consideration!

            This would be immensely useful to make sure our controls we have in place (gates for custom field validations) are adhered to.

            Warren Kent added a comment - This would be immensely useful to make sure our controls we have in place (gates for custom field validations) are adhered to.

            Implementing this functionality would be greatly appreciated by all Jira administrators. Please get it done.

            Gregory Kremer added a comment - Implementing this functionality would be greatly appreciated by all Jira administrators. Please get it done.

            Kent Chiu added a comment -

            We also need the ability to Clone regardless of the CREATE workflow condition.  We have implemented some conditions in the CREATE workflow to enforce the provision of information in some of the fields.  Currently, Cloning is unable for projects that have imposed field requirements for the issue creation. At least provide a pre Clone screen to allow user to update the fields required in the ticket to proceed.

            Kent Chiu added a comment - We also need the ability to Clone regardless of the CREATE workflow condition.  We have implemented some conditions in the CREATE workflow to enforce the provision of information in some of the fields.  Currently, Cloning is unable for projects that have imposed field requirements for the issue creation. At least provide a pre Clone screen to allow user to update the fields required in the ticket to proceed.

            Super keen if we could get this feature added. Will help from an admin point of view greatly. We make use of loads of validated custom fields which of course all kept skipped due to already copying the field values for the newly cloned story, ultimately bypassing any validation required for new stories.

            Warren Kent added a comment - Super keen if we could get this feature added. Will help from an admin point of view greatly. We make use of loads of validated custom fields which of course all kept skipped due to already copying the field values for the newly cloned story, ultimately bypassing any validation required for new stories.

            I agree on the comments above

            • The ability to clear fields after cloning is desperately required. We use JIRA to manage our project, deployments, planning
            • When the record has been cloned, it contains information for the old record that is not valid for the new record and thus take away all the validations we have put in place during an issue creation
            • It leaves the system in limbo with no way of housekeeping
            • The history is also retained and links which arent necessary are kept and data integrity is questionable
            • It links the cloned epic automatically which is also not desirable by default

            Padmagandhini Shridhar added a comment - I agree on the comments above The ability to clear fields after cloning is desperately required. We use JIRA to manage our project, deployments, planning When the record has been cloned, it contains information for the old record that is not valid for the new record and thus take away all the validations we have put in place during an issue creation It leaves the system in limbo with no way of housekeeping The history is also retained and links which arent necessary are kept and data integrity is questionable It links the cloned epic automatically which is also not desirable by default

            Dan Mihalache added a comment - - edited

            Emre Toptanci, i completely agree with you. If we had at least the Validators, it would already be a huge step forward.

            Dan Mihalache added a comment - - edited Emre Toptanci, i completely agree with you. If we had at least the Validators, it would already be a huge step forward.

            Having the option of using conditions and validations on Edit operation would introduce a hugely powerful and flexible feature. This will save us from defining tens of local transitions.

            Emre Toptancı [OBSS] added a comment - Having the option of using conditions and validations on Edit operation would introduce a hugely powerful and flexible feature. This will save us from defining tens of local transitions.

            I would make this request a little bit more general.

            At the moment links to not carry any semantics although the link names would imply that there is a logical relation between two issues. In the same way as workflows (and with that conditions, validators, post actions) can be assigned to any project, it should be possible to

            • limit the listed links per project
            • apply semantics to link types

            This could be done using "Link schemes".

            The clone action is just one example that implies a logic. We handle the cleaning of field values by using the "New" --> Status "New" transition and adding a few post-actions to clean up some fields.
            However there are more default links that should carry semantics, for example duplicate. This could for example automatically follow the states of the duplicate master (if I as a project admin define it that way).

            Martin Bayreuther added a comment - I would make this request a little bit more general. At the moment links to not carry any semantics although the link names would imply that there is a logical relation between two issues. In the same way as workflows (and with that conditions, validators, post actions) can be assigned to any project, it should be possible to limit the listed links per project apply semantics to link types This could be done using "Link schemes". The clone action is just one example that implies a logic. We handle the cleaning of field values by using the "New" --> Status "New" transition and adding a few post-actions to clean up some fields. However there are more default links that should carry semantics, for example duplicate. This could for example automatically follow the states of the duplicate master (if I as a project admin define it that way).

            I agree with Kevin. I need to clear custom fields when an issue is cloned.

            Ryan Grimard added a comment - I agree with Kevin. I need to clear custom fields when an issue is cloned.

            The ability to clear fields after cloning is desperately required. We use JIRA to manage our deployments - we synchronize information from another system into JIRA to track the status of these requests. When the record has been cloned, it contains information for the old record that is not valid for the new record. We would very mc like to be able to clear these fields on cloning.

            Kevin J. Conway added a comment - The ability to clear fields after cloning is desperately required. We use JIRA to manage our deployments - we synchronize information from another system into JIRA to track the status of these requests. When the record has been cloned, it contains information for the old record that is not valid for the new record. We would very mc like to be able to clear these fields on cloning.

            Using Minyaa Suite plugin, you are able to perform such control on Edit operation by implement Global Actions.
            See documentation and do not hesitate to Try Minyaa,

            Vincent

            Vincent Thoulé added a comment - Using Minyaa Suite plugin , you are able to perform such control on Edit operation by implement Global Actions. See documentation and do not hesitate to Try Minyaa , Vincent

            SimoneK added a comment -

            I wrote validators to asure that the values for certain fields are entered in a given format. These validators avoid that the user enters wrong values during the workflow actions. But I have no chance to avoid that the user uses the edit action to enter invalid values afterwards. Therefore I need to do validation for the values entered during the edit operation.

            SimoneK added a comment - I wrote validators to asure that the values for certain fields are entered in a given format. These validators avoid that the user enters wrong values during the workflow actions. But I have no chance to avoid that the user uses the edit action to enter invalid values afterwards. Therefore I need to do validation for the values entered during the edit operation.

              Unassigned Unassigned
              36b7953712a3 Paul Landolt
              Votes:
              152 Vote for this issue
              Watchers:
              85 Start watching this issue

                Created:
                Updated: