Script In Field Description If Statement

Junaid Shah
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 Leaders.
July 2, 2015

Hi,

I need some help with writing a If statement within a field description..

I need the If statement to recognise the user that is activating the transition the field is located in..

e.g.

 

If UserGroup == Agent{

 

}

 

or

 

If UserRole == Developer{

 

}

 

Just as a pointer again this is code that is written INSIDE a fields Description box.. Not within a workflow or anything.

 

Thank you, all help greatly appreciated.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Junaid Shah
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 Leaders.
July 2, 2015

Apologies, entered by mistake when choosing script tags. Removed now.

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 Leaders.
July 2, 2015

why script-runner tag?

TAGS
AUG Leaders

Atlassian Community Events