Hey Guys,
I've had difficulty setting the validation for if field value is modified during a transition. What've done so far is, added a validator from QA to Sign Off wherein if time spent is where I've added my validation i.e from transitioning to QA to Sign Off time spent should be entered/updated. I get the alert if the time spent is not updated. However, I'm still getting the alert even if the time spent is entered in this transition. I tried adding screens too but that also didn't work.
Any possible solutions for me?
Hi Anand,
I tried to recreate your validator problem here. Something I noticed here, you can set a validator on the system field called 'Time Spent', however on the transition screen you will need to make sure that you add the system field called 'Work Log' in order to make this 'modify field value validator' functional.
With most other fields in Jira the name of the field is the same in both validator and screen, but for the sake of time spent, this is being measured off the Jira work logs. Furthermore, in this case you would have to place this Work Log field on a transition screen. A transition screen is the only way that this validator could work properly to allow users to enter/change a value when the issue is transitioned.
I hope this helps.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Andrew,
It worked perfectly fine. I think the other mistake which i was doing is, under screens, i had added time tracking instead of log work.
Thanks a ton:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
Would you be able to help me out with Automation rules?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome. Happy to help out.
Regarding your questions about automation:
It would depend on how you are doing automation. Jira Service Desk does have some level of built in automation that I might be able to answer questions about.
However if you're referring to a plugin such as Automation for Jira or alike, well, I'm less well versed in supporting that particular plugin and its syntax.
But either way, I'd recommend creating a new question here in Community since this sounds like a different topic, and tagging it with the product(s) and the subject(s). This way we can try to get your question in front of the users that have expertise in that topic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure thing, Andrew!
Do you think it's possible to set a notification from workflows, triggers, conditions, etc.? I have set automation rules for original estimate but jira only allows 300 execution in a month and hence I'm looking for an alternative.
One more thing, in my workflow, a ticket is automatically transitioned from TO Do to In Progress whenever a commit or pull request is made. If I add a validator the same as Time spent, would it stop the automatic transition from To Do to In Progress?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When a workflow transition is triggered automatically, it ignores any conditions, validators, or permissions configured on the transition. This is documented in Understanding triggers: How triggers relate to other workflow operations/constraints.
I'm not sure I understand your other question in your previous reply. But it sounds like it should probably be a separate question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
I wanted you to know that I moved this reply into its own question. It just felt like it was different enough that it shouldn't be answered in the thread of the other post.
I understand that you are having a problem with a validator in your workflow. However I'm unclear of the details here. What field is using the QA and Sign Off values? Could you post us a screenshot of your validator settings? I might help us to better understand your specific environment and this situation to be able to offer more help here.
Thanks
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Andrew,
Thanks for the update!
I'm attaching two screenshots. One for the workflow and other for the validator. I've added the validator when the issue is being moved from QA to Sign Off.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.