Same Postfunction for diff. issue type results in Error

Celik Vedat February 16, 2018

Hi,

i've implemented a scripted post function with simple issue language (by cprime) for the issue type Epic. the post function adds diff. employees to the watchers list of an issue. I've implemented the same script for the issue type story an I am getting this error:

Error_JIRA_Story.PNG

This is my script wich works for Epic:

script_ldr.PNG

 

what am I doing wrong here?

 

kr & a nice weeknd

1 answer

0 votes
Deleted user February 16, 2018

Is it the same project?

If not, it might be the permissions not allowing some person to become a watcher, that is, the person might be unable to see the issue thus not being able to become a watcher, or the user you are trying to set the watcher with does not have the 'Manage watchers' permission.

Celik Vedat February 16, 2018

It is the same Project and the person who creates ticket has the manage watchers permission.

Deleted user February 18, 2018

Are the people you are trying to add the same people? All having the Browse project permission?

Celik Vedat February 19, 2018

yes :/..... like I just said, same script, same people, same project, same transition. Just another issue type

Suggest an answer

Log in or Sign up to answer