Hi all,
currently I am having a challenge with the JMWE-plugin, namely with the "separation of duties"-condition.
We've got the classic case: While one colleague shall be able to "resolve" an issue, he must not be able to "close" the same issue (and vice versa).
What I did: In the "close issue"-transition I've added a JMWE-condition (only that condition!):
"Only a user who has never transitioned the issue from In Progress to Resolved can execute this transition."
Results:
1.) If I resolve an issue, I cannot close the issue (right!), anybody else can close it (right!)
2.) If anybody else resolves an issue, I can close it (right!), but the "resolver" himself can close it as well (wrong!)
This is quite strange and difficult to debug, as it seems to work only partially as required and expected. As mentioned no other conditions apply to the "close issue" transition.
I am project lead (we even temporarily changed that) and in the same roles as the other testing colleagues.
Anyone any idea? Hints are highly appreciated!
Cheers
Kai
The problem will be fixed in the upcoming 3.2.0 release, which should be available this week.
Which version of JMWE and JIRA are you using?
There might be a case issue since JIRA 6 (https://developer.atlassian.com/display/JIRADEV/Renamable+Users+in+JIRA+6.0)
I will create a snapshot build with a potential fix and more logs.
Could you raise an issue on https://innovalog.atlassian.net, so that we can better track this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which version of JMWE and JIRA are you using?
We're using JIRA 6.0.5 and JMWE 3.1.1
Could you raise an issue on https://innovalog.atlassian.net,
and I created JMWE-206 :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To be more precise: the Condition scans the "issue history" for the issue, looking for an entry associated with the current user that shows a change for the "Status" field with an "Original value"=<from status> and a "New value"=<to status>
So you should verify the "History" tab for the issue that shows the inappropriate behavior.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
thanks for your precise description regarding the "issue history". As our current log level does not show any "com.innovalog" entries, we will increase logging as soon as we can schedule a maintenance downtime.
Meanwhile I can post two screenshots. One showing the history tab, where user "J" is able to close the issue, although the workflow JMWE-condition does implicate he should not (second screenshot).
Most likely you agree that this is kind of a not expected behavior, right?
Cheers
Kai
Second screenshot:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you looked at the JIRA logs? Search for "com.innovalog".
Also, have you verified that the transition from In Progress to Resolved appears in the issue history with the right user?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
thanks for your lightspeed-answer!
Add 1: at which point you expect a message from "com.innovalog" in the logfiles? When the issue is transitioned from "in progress" to status "resolved", preventing the transition-button "close issue" to show up?
Add 2: The transition in the history is done with the correct user in all cases. Thanks for pointing to that, but here seems to be no error.
Cheers
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The log would show up when you try to trigger the Close transition (actually whenever you display the issue since that is when the Condition is evaluated, to build the list of available workflow actions).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, I'll have a look in the logs and will come back with the result asap. Thanks!
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.