The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Behaviour to set Organization from reporter

Anton Delitsch
January 14, 2019

I have an requirement to set organization based on reporter in JSD.

For emails and portal issues I am using an scriptlistner to set the value but is it possible to set this using an behaviour when creating an issue in the Jira GUI?

The code bellow does not work on the organization field:

def forganization = getFieldById("customfield_10002")


String Organization = (String) forganization.getValue()

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brittany Wispell
Community Champion
January 23, 2019

Hey @Anton Delitsch

Are you using Cloud or Server? And if Server what version are you running for JSD and also what version is your Jira instance? 

Anton Delitsch
January 23, 2019

I am using Server version 3.16.0

TAGS
AUG Leaders

Atlassian Community Events