Assigning Tasks in Open Atrium Work Tracker

Events happening in the community are now at Drupal community events on www.drupal.org.
yorkshiregeek's picture

Apologies if this has been raised in the wrong section but I have been struggling to find some help in OA.

I have a test site running fine. However when I create a tasks section in a space I dont seem to be able to assign the tasks to anyone? Is there something fundamental I am misssing here?

Thanks

Comments

Task Assignments

hollyfox's picture

Worktracker uses the space context to determine the people that may be assigned to the task. If you need to assign people that do not have space access, as far as I know, you will need to create dual sections that can see the task or place the people that need to work on it in the space.

As for dual sections in worktracker, dsnopek is aware that our organization needed it so I submitted a feature request to Atrium to allow dual spaces and it was emphatically turned down by mpotter as a design aberration. With considerable effort and custom module code, I was able to get it working, however, I hesitate to recommend this to you as it is not the way Atrium intends sections to be used.

Just thought I would let you know. Maybe you can create a group and give them access to the section, but that has its own contextual issues.

Thanks for the reply. My

yorkshiregeek's picture

Thanks for the reply. My example is quite simple and the users should be part of the space so i cant see why i cant assign to them? I am sure I am missing some basic setting somewhere?

I have 3 users as members of the space but it still wont allow.

Section Visibility

hollyfox's picture

OK, so if the users are members of the space, you can edit the section and add them to the section visibility individually or as a group. There is also a means of inheritance within the space as well but I am not sure this applies to sections. What I have done is created a group for the space members and given it visibility within the section. This also allows you to limit the users within the space that have access.

I do not have my dev site available right this moment so I am going on memory of what I have encountered during development. If someone else knows a better way, please let us know.

I have tried adding a group

yorkshiregeek's picture

I have tried adding a group and the individual users but still doesnt populate the assign to drop down list? Its very strange.

What does it show you?

dsnopek's picture

Hmm. You shouldn't need to change Section Visiblity to allow you to assign a Task to a user if they are a member of the Space. :-/

What does it show you? Is the select box of of users under "Assigned to" empty? Or does it give you a message when selecting someone and trying to save?

Also, are the users direct members of the Space? Or are they members of a parent Space?

A screenshot of what's going wrong could be helpful!

Anyway, this should work, so I hope we'll be able to get bottom of it. :-)

Thanks,
David.

Hi Thanks for the reply. The

yorkshiregeek's picture

Hi

Thanks for the reply. The select box is empty. The users are members of the only space (Just a test site at mo) . I have added them within groups and as individuals with no luck.

How do you upload an image screenshot to this? I can show you the page if I can do that too.

Thanks for help.

Ok, a couple more questions! :-)

dsnopek's picture

Unfortunately, to share an image in groups.drupal.org, you'd have to upload it to an image sharing service (like imageshack.com, although there are dozens of similar sites!) and put the link here. This is easier in the issue queue because you can upload images directly.

Anaway, a couple more questions! :-)

  1. When you are creating the Task, can you see the Space you are in listed in the breadcrumbs? For example: http://minus.com/lTEx1uTyhlAO8
  2. If not, how are you getting to the "Create Task" page? You should be using the [+] button here: http://minus.com/leqJwFoJO2xQp
  3. Also, what is the "Assign to users" setting in Work Tracker settings on your site? You can get to those settings by clicking Admin -> Open Atrium -> Work Tracker settings. Here's the field I'm talking about: http://minus.com/lbtINBxTgfm8kA - Maybe trying changing the value and seeing if something appears? If one of those works (but not the others), that could help narrow down where the problem is.

Thanks!

Ok thanks... 1) It is listed

yorkshiregeek's picture

Ok thanks...

1) It is listed as shown
2)It is listed as you show and I can use the Plus sign
3) I have tried all three of the settings and it makes no diff?

http://min.us/i/UXzwYXXXEr94

The above link should take you to a screen shot of the tasks page.

I hope that helps? Thanks again.

Wow, this is a mysterious problem!

dsnopek's picture

Wow, this is a mysterious problem!

So, for completeness, can you show the members page for the "Biomation" Space, just to show that there are some members there? (Although, all Spaces should have at least one member - the Space owner...)

Just in case something went wrong during install, let's try reverting the Work Tracker feature and clearing the cache. If you use drush, this is simply:

drush fr -y oa_worktracker
drush cc all

In the UI, it's a little more complicated:

  1. Go to this path on your site: /admin/structure/features/oa_worktracker
  2. If there's any checkboxes in the right-hand column, check them all and then click the "Revert components" button
  3. Now, go to this path on your site: /admin/config/development/performance
  4. Click the "Clear all caches" button

Not sure if that'll have any effect, but it's worth a try!

Ok thanks. I think we may be

yorkshiregeek's picture

Ok thanks. I think we may be getting to the root of the problem..

When I check Worktracker and try to revert components it tells me it has done it but I still have
Field Instances and Feature Overrides (individual -- advanced) that can be reverted and yet they wont revert when i try?

Also although I can clear cache succesfully i also got the error below....

Error message

Warning: include_once(profiles/openatrium/modules/contrib/og/includes/actions/set_state.action.inc): failed to open stream: No such file or directory in og_operations_load_action_includes() (line 3537 .
Warning: include_once(): Failed opening 'profiles/openatrium/modules/contrib/og/includes/actions/set_state.action.inc' for inclusion (include_path='.:') in og_operations_load_action_includes() (line 3537 of .
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'og_set_state_action_info' not found or invalid function name in og_action_info() (line 3508 of /og.module).

Hrm. Well, it might be

dsnopek's picture

Hrm. Well, it might be unrelated too. :-/ When you're on the Features page for oa_worktracker, click on the "Review overrides" tab and see what is Overridden but not reverting.

When i go into features I

yorkshiregeek's picture

When i go into features I get...
OG example
entityreference_prepopulate (Missing), rules (Missing)

UUID Services Example
Example feature of a UUID service. Works well with the Deploy Example feature as a client.
Unmet dependencies: rest_server (Missing), services (Missing)

the above may be unrelated too but just in case...

When I go into worktracker and try and revert the two below show. The trouble is they still showing in the list as overidden?

Reverted all features_overrides components for oa_worktracker.
Reverted all field_instance components for oa_worktracker.

Affect a task to user from group

kamalMaroc's picture

1- I create a group with users
2- I create a space and affected to group created
3- I create a section for this space and i choose a group created
4- I want to creat a task and affect it to user, but not work because in the list field i see just admin !!

same idea ?

Another thought

hollyfox's picture

As an aside, I have had issues with migrated users not showing up if their display name field is left blank. For some reason they will migrate without the required field and I had to add it before they showed up. Not sure if this is part of the problem, but dsnopek make a good point about them being in the parent space and the sub-space possibly not inheriting its users. You can also add the space from within the user page to make sure they are part of the space with the task section in it.

Thanks but the field has been

yorkshiregeek's picture

Thanks but the field has been completed.

I have been experiencing this

mt3ch's picture

I have been experiencing this same problem.

I have a new site. I created a top space, then a subspace, then created and assigned members to the top space. Members are inherited by the subspace as indicated by the output.

However, when I created a Task section in subspace the only person that appears in the "assign to" box is myself.

I have tried all the suggestions above to no avail.

Any other suggestions? Otherwise, I will open a new bug ticket.

Thanks.

This is working in the OA

mt3ch's picture

This is now working after updating to OA 2.42 but I had to delete and recreate the space and content from scratch to be able to assign to other inherited users in the space.

See https://www.drupal.org/node/2296409

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: