When anyone changes the due date for an issue i want to know why by a screen or to make a comment required ,, can i do it?
its not related to the transition in the workflow, only a field change.
Thank you
no, you can't do it as you describe it. The compromise solution:
Allow only to edit that field on a transition (from one status to the same status) and as part of the transition add a validator that a comment is added as well. Won't end being the prettiest workflow at all, specially if you are going to do allow this type of transition on many of your workflows status. Personally I wouldn't set up these on more than 2 status at most.
consider an addon, e.g. Scriptrunner, Automation for Jira, Power Scripts, etc. especially if you already have a suitable addon installed.
Hi @فادي ,
I usually implement those business logics by removing the field from the edit screen, adding a specific transition (might be a global reflexive one - "from any status to itself") and also adding a validator to this transition (if field is changed, require comment). In order to do so, please check for a workflow app (if you don't have one installed already) here: https://marketplace.atlassian.com/categories/workflow
CheersThorsten
i have automation for jira , how can i don it?
I mislead you. Not sure what I was thinking at the time. :-(
As Hernan stated, you can only require a comment as part of a transition. Automation for Jira won't get you there. You might be able to write some java script to get you there but have never attempted so can't really assist there.
the right solution, as Hernan and Thorsten mentioned is to allow the field to be edited only associated w/ a transition.
Hi @فادي did this help you solve your issue? do you need any extra assistance? would be good to mark this as solved if it's really the case
It looks like you're new here. Sign in or register to get started.