Can I add watchers when an issue is created

Hi,

I'm using JIRA Cloud service desk.

I would like to add a single user to watcher list when an issue is created. I tried using  post function on workflow transition but Wather field is not available.

Is there any way to do it ?

thanks

José Arbiol

7 answers

I  found a solution for this, by creating a custom notification scheme, and adding a custom "user picker" notifiers field. When adding something to a notification scheme, pick the "User Custom Field Value" option, and select the custom user picker that you previously defined.

Seems to work so far.

regards

Corne

This is BY FAR the best solution for adding "watchers" on creation. 

I didn't add a custom notification scheme.  I just added a new notification to the default notification scheme.  I then took it one step further and added a Post Function to my workflow that copies the value of my custom user picker field and adds it to the Watcher field when the item transitions.

This is kind of involved and you can miss a step pretty easily. One note of warning, the picker will show you ALL people on JIRA, some of which may not be configured correctly to have access to the project you are on, so go back and double check all your user rights or notifications wont work for that user.

This answer effectively pointed me in the right direction.

In addition, when creating the custom field you can choose the multi-user picker (to notify multiple people) which is awesome.

Fwiw, I think it's ridiculous that this isn't something supported out of the box.  It's not that hard.

0 votes

Watcher isn't a field, that's why the post function failed.

I'm afraid you need to add a "watchers field" add-on if you want to to this directly on create, or have something a post-function can write to, but you can't install it on Cloud (last time I looked)

OK, thanks for your quick answer.

kr

 

José

Jose, I may be misunderstanding your question, but are you aware you can go into notifications in your project and under issue create, you can add a person?
If I understand your need correctly, this is the simplest way to do it.

welcome

John

@John Pfotzer unless I'm missing something, your suggestion to add a person to notifications is a static entry - ie a specific person (or group) would be notified on issue creation (for example). I think what the OP is asking for is the ability to select users at issue creation to notify (that's certainly what I'm after, but it seems that Cloud doesn't support the Watchers plugin that has been mentioned elsewhere.

regards

Corne

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

106 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you