I am trying to populate a text field based on issue type:
String s = issue.get("issuetype").getName();
if (s == "Other") return "This is of issue type other";
s is getting populated with "Other", however, when I compare it in if statement I do not see the output.
I am trying to calculate a number field but I do not want to display the decimal point. Is there a way to convert a field value to whole number?
This is giving no result. customfield_11501 value is 51 and it displays 51.0 when I display it as it is.
if (s.equals("Change Relationship"))
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs