Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Tengo un campo personalizado tipo label y tiene valores erroneos como eliminarlos

Maria Ines Lorenzo
August 3, 2021

Donde guarda JIRA los valores de labels para eliminar unos erroneos y que no los sugiera mas.

2 answers

1 accepted

0 votes
Answer accepted
Martin Heinemann
Contributor
June 21, 2015

Well, i can solve this by my self:

in script runner, the currentUser is not an object but a function.

So the correct syntax is:

$currentUser.displayName

 

 

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 21, 2015

I'm a bit confused... I don't see currentUser as being available in the script binding there. I was going to suggest using:

componentManager.jiraAuthenticationContext?.user?.displayName

Suggest an answer

Log in or Sign up to answer