Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now let's get working. First off, we must create the security level, which looks like this:

Image RemovedImage Added

Create the actions

Once we've done that, it's time to create the actions. We will create two actions Lock and Unlock.

Image RemovedImage Added

For the conditions, we will disable the Lock button if the security level is already Locked, and disable the Unlock button if the security level is empty. Of course, we will only show the buttons to the current assignee.

...

That's it! Now let's test it.

Image RemovedImage Added

Image RemovedImage Added


Note

Instead of current assignee, we could set the value of a user picker as the allowed user, and change the value of the custom field to the current user when locking an issue, thus resolving a common problem exposed here: https://jira.atlassian.com/browse/JRA-6146

...