Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,181
Community Members
 
Community Events
176
Community Groups

How to add Watchers field while creating the issue in Jira

How to add Watchers field while creating the issue in Jira

4 answers

1 accepted

I have figured out away to do this through automation:

First I created a custom User Picker field, and named it Add to Watchlist. and I added that field to my screen.  

Then in automations I used a Issue Created trigger,  followed by an Add watchers action. When selecting which users I'd like to add as watchers in the Add these watchers drop down menu; instead of picking a user, I used Jira smart values to call any user ID in my custom field like so: 

{{Add to Watchlist.accountId}} 

 

When someone creates an issue they can enter in as many users as they would like into the Add to Watchlist field. Once they hit create those users are add to watchers on the ticket. 

Hope that helps! 

Can confirm this works also if you don't wanna use a plugin(Watch it for Jira does the trick), thanks @Alaetheia Garrison Stuber Weston Wong :)

1 vote

The built-in watchers field is not really handled as a field in Jira, it's more of a function.

You can't get to it directly as though it were a field, you have to use add/remove in its own interface, not the field view.

There are a couple of apps that provide a field-like interface on to it in the marketplace, which you might want to try out (they work by putting a watchers field on-screen for those who have permission to amend it)

Your other option would be to add your own multi-select and automate something that copies watchers out of it on creation (but that would not respect the clever stuff watchers does with permissions)

0 votes
John Funk Community Leader Mar 04, 2022

Hey @vshnu raj 

I don't believe you can do it at create time. But you should be able to add watchers with Automation for Jira or ScriptRunner or another add-in. 

0 votes
Rilwan Ahmed Community Leader Mar 04, 2022

Hi @vshnu raj ,

You can do it by adding watchers field to "Create screen". Then watchers field will show in while creating the ticket.

You can follow below steps to add field.

Go to project settings --> screens 

For the required issue type, See what is the screen associated to "Create Issue" action. 
Click on the screen and add the "Watchers" field there.

Watchers is a system field and it is unavailable to add on screens

Rilwan Ahmed Community Leader Mar 04, 2022

My bad, I forgot to mention we use "JIRA Watcher Field" plugin and have created custom field "Watchers" with type "Watcher Field" type. This custom field is added to create screen.

I see similar solution mentioned in https://community.atlassian.com/t5/Jira-Software-questions/Is-there-any-way-to-add-Watchers-on-issue-creation-in-Jira/qaq-p/1218744 but could not find the plugin in marketplace now :(

Do not use the watcher field plugin.  It is incompatible with Jira version 8.22+ and will wreak havoc on your instance - see Is there an alternative to burningcode's now defun... (atlassian.com)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events