Hey Community, hope you are all doing well ;)
Just have a question about the Team-Managed projects, which are excellent, but I do want to have more features in there :)
For example, I want to force the users to log their work on status change. I did it successfully on Company-Managed projects and it works efficiently. So, it would not be possible to change the status from "X" to "Y" without logging the "Time Spent" in the dedicated field.
I did it using the Jira powerful validations and on the issue transition,
I want to implement the same on another small Team-Managed project for the design team.
I tried to manage it using the Team-Managed project automation, but could not success ;(
So, please let me know your opinion about this feature to add in Team-Managed project, and please share with me your experience about the workarounds or solutions of this.
Thanks,
Arthur
Hello @Arthur Harutyunyan
Clockwork developer here. I think you will have hard times trying to implement what you want, but I'm speculating that if you'd loose some of your requirements it maybe would be possible to achieve what you want.
Let me first advertise something which I'll use as a base for the solution I propose: https://docs.herocoders.com/clockwork/prevent-a-transition-if-no-time-logged
This is built-in functionality for Clockwork Pro (and I assume you don't want to go with paid version of Clockwork currently) that probably works as you would expect **for company-managed Jira projects only**. The **team-managed** projects were unsuitable for this kind of functionality due to API missing in them. However, I speculate that you could try to replicate that specific functionality using some clever automations + hidden custom fields to store the state. Here is the gist how it works:
The idea is that whenever Clockwork Free is used to log the work, it underneath goes to Jira and creates/updates that issue's Jira native worklog. That's the moment I speculate your custom automation from (b) would kick in and mark the issue as "ready to transit".
It wouldn't allow you to log the time and transit issue on the same transition screen (because I believe there are no transitions screens on **team-managed** projects, but even if they are, there are no Jira API for Clockwork to hook there with its logging time stuff), but it would allow you to require your users to first log some time via Clockwork Free, and only then allow your users to transit the issue to another status.
If you go that route, please ping me later with your findings - I'm curious if that approach turns out to be feasible or not (and for what reasons).
Cheers and good luck,
Piotr Stefaniak
HeroCoders developer
Hello @Arthur Harutyunyan
Have you checked the rules that you can add in the workflow section of the settings?
My ideas are:
Let me know if you would like to investigate in any of these options.
Best regards,
Patrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This rule would allow the issue to transition if any time was logged at any point prior to the transition.
This rule would not force the user to log additional time as part of completing the status transition.
In a Team Managed project there is no method to require a user to enter data while making an issue transition because Team Managed projects don't support adding a Transition Screen.
The "Restrict to when a field is a specific value" rule requires you to have entered information in the issue before you attempt to execute the transition.
And, in fact, checking the total time logged for an issue is actually not one of the fields that can be checked with this rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Trudy,
Thanks for following up on my comment. Agreed it might have been good to mention that natively there is no way do this.
I have learned to find workarounds before saying that something is not possible and so far I have been relatively successful.
If having at least 1 hour logged for the user would be sufficient, wouldn't you say that the field specific rule could be set up this way? A custom field could be created that would be updated by automation each time hours would be logged. This way multiple scenarious could be set up and the actor could be the set to the initiator.
These are just ideas and I will be happy to explore further. If Arthur would like to try at least something rather than nothing outside of native functionality that is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Patrik,
I inferred from the author's post that they wanted time logged each time the issue was transitioned to another status, to capture the time spent along the way, as can be done with a Transition Screen in a Workflow for a Company Managed project. Your solution only ensures that the total Time Spent on the issue was not 0 when it is transitioned.
But your inference might be correct and mine might be wrong. :-)
Can you clarify your requirement?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Patrik Korovsky thanks for suggesting that workaround. I will dig in a little bit to try to find a workaround using the automation. I am not that optimistic though, because I am using an external plugin for time logs in my Team-Managed projects which brings more complexity in this flow.
So, I want to somehow force the users to use "Clockwork Free" logging plugin !!
And to answer to @Trudy Claspill the requirement is the following:
The workflow I have for this Team-Managed project is the following:
ToDo -> InProgress -> Test -> Validated/Reopened
I want to force the users to add a log in "Clockwork Free" once the issue is transitioned from "InProgress" to "Test".
Thanks guys!!
Arthur
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.