Minyaa JIRA is now upgraded to JIRA 4.3.4 + Minyaa 3.1 !

Minyaa Suite

Worklog on transition does not work

Details

  • Type: Support Request Support Request
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.1
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Labels:
    None
  • Environment:
    Windows - MySql - Tomcat - Jira Standalone 3.13.1
  • Rank:
    244 
  • Workers:
  • JIRA Release:
    3.13.1

Description

Hi

We installed Minyaa pluggin on Production Server and we are having some issues.

1. We enable workload on transition, when people log the time spent during the transition, everything seems ok, but later, we realize the time spent is not there, does not appears on the database either.

When people log work in the traditional way (Operations-Log Work Done in right pannel), the work is loged correctly.

2. We are also having an issue with a locally developed listener, very important for us, but I'll look into it with more detail and ask for support in another issue if necessary.

I'd appreciate your help with 1.

Thank you.

María

Activity

Hide
Vincent Thoulé added a comment - 02/Sep/10 2:12 PM

Hi Maria,

Do you log to attach ?
Does the user experiencing this error have Log Work permission ?

V.

Show
Vincent Thoulé added a comment - 02/Sep/10 2:12 PM Hi Maria, Do you log to attach ? Does the user experiencing this error have Log Work permission ? V.
Hide
Marla added a comment - 02/Sep/10 2:37 PM

Hi

They have permission to log, the work log works well on the Operations Panel.
I'm not sure I understand your first question. Log to attach is a post function or a permission I should have defined?

I create a custom field called "Time something" then I put the custom field in a transition screen, I modified the workflow in "resolve" transition to use the modified transition screen, and I enable the validator.


Validates attributes provided by any Worklog CustomField filled during a Transition.

* Spent time entry is mandatory. If no input is done, the transition will be aborted !
* Comment entry is optional.

People can log work during transition but the time spent is not persisted.

Thank you
Maria

Show
Marla added a comment - 02/Sep/10 2:37 PM Hi They have permission to log, the work log works well on the Operations Panel. I'm not sure I understand your first question. Log to attach is a post function or a permission I should have defined? I create a custom field called "Time something" then I put the custom field in a transition screen, I modified the workflow in "resolve" transition to use the modified transition screen, and I enable the validator. Validates attributes provided by any Worklog CustomField filled during a Transition. * Spent time entry is mandatory. If no input is done, the transition will be aborted ! * Comment entry is optional. People can log work during transition but the time spent is not persisted. Thank you Maria
Hide
Vincent Thoulé added a comment - 02/Sep/10 2:43 PM

My 1st question is : Do you Error Log file linked to the error, and are you able to attach it to this issue ?
Can you also attach or send the Resolve Transition definition (Workflow in XML) ?

V.

Show
Vincent Thoulé added a comment - 02/Sep/10 2:43 PM My 1st question is : Do you Error Log file linked to the error, and are you able to attach it to this issue ? Can you also attach or send the Resolve Transition definition (Workflow in XML) ? V.
Hide
Marla added a comment - 02/Sep/10 3:07 PM

Find attached stdout logs from today and from yesterday just in case there are some doubts regarding some error messages that could have appeared before.

Regards.

Show
Marla added a comment - 02/Sep/10 3:07 PM Find attached stdout logs from today and from yesterday just in case there are some doubts regarding some error messages that could have appeared before. Regards.
Hide
Marla added a comment - 02/Sep/10 3:23 PM

Find attached our active sub-task workflow, in "Close" transition, we ask to log work. In this workflow we don't use Resolve transition.

Show
Marla added a comment - 02/Sep/10 3:23 PM Find attached our active sub-task workflow, in "Close" transition, we ask to log work. In this workflow we don't use Resolve transition.
Hide
Marla added a comment - 02/Sep/10 6:11 PM

Hi,

I've performed some tests and I can confirm, that for us, the workload on transition is not working in the SUB-TASK workflow (the one I've attached).
I've tried changing the workflow condition to use the Minyaa Extended permission, just in case, but it din't work.

It´s works in the other workflow, our support workflow, it generate in one specific case other issue with our listener, but the workload is persisted.

Regards.
María

Show
Marla added a comment - 02/Sep/10 6:11 PM Hi, I've performed some tests and I can confirm, that for us, the workload on transition is not working in the SUB-TASK workflow (the one I've attached). I've tried changing the workflow condition to use the Minyaa Extended permission, just in case, but it din't work. It´s works in the other workflow, our support workflow, it generate in one specific case other issue with our listener, but the workload is persisted. Regards. María
Hide
Vincent Thoulé added a comment - 03/Sep/10 1:30 AM

I found the root cause.
Your workflow does not allow to enter edit issue (enter worklog) when an issue is closed.

In Post Function, the status is updated before Customfield. Then, when the Worklog Custom Field checks permission, it is not allowed to enter worklog.

Defining the Worklog Validator, permission are passed successfully, because the Issue is not yet closed.

In short delay, workarounds are :

  • to allow Issue Edit on Close (it may not fit with your case),
  • to add an intermediate step before the final close

For other cases, I have to look for another solution.
Vincent

Show
Vincent Thoulé added a comment - 03/Sep/10 1:30 AM I found the root cause. Your workflow does not allow to enter edit issue (enter worklog) when an issue is closed. In Post Function, the status is updated before Customfield. Then, when the Worklog Custom Field checks permission, it is not allowed to enter worklog. Defining the Worklog Validator, permission are passed successfully, because the Issue is not yet closed. In short delay, workarounds are :
  • to allow Issue Edit on Close (it may not fit with your case),
  • to add an intermediate step before the final close
For other cases, I have to look for another solution. Vincent

People

Vote (0)
Watch (0)

Dates

  • Created:
    02/Sep/10 2:05 PM
    Updated:
    03/Sep/10 1:30 AM