The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello everybody.
I try to get Request Type value in behaviours using getRequestTypeName() function. But the result is null.
Anybody knows how get this value?
Thanks.
Hi Mauricio,
Did you take a look at this documentation from the vendor already? https://docs.adaptavist.com/sfj/request-types-with-behaviours-70320725.html
I'm not 100% sure it is related. Could you share some extra context about your goal? Where is the behavior running and can you share some extra code?
Hi Charlie.
I need to hide some fields in Jira Screen depends of request type value.
I find the following article but is not working.
However, the documentation you've given me indicates that it's not possible to get the value of the Request Type field using a script.
Following you could see the script I built. (Behaviours)
// Get request type value (Service Management / Service Desk)
def reqType = getRequestTypeName()
def issueTypeField = getFieldById(ISSUE_TYPE)
def summaryField = getFieldById(SUMMARY)
switch (reqType) {
case "Value1":
summaryField.setHelpText('Finalidad del Acceso')
break
case "value2":
summaryField.setHelpText('Denominación de la campaña')
break
default:
break
}
Do you have any suggesitions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.