I have a select box whose values are in the format of:
"1 - stuff; more stuff; and other stuff"
I am trying to use smart values in an automation to get the 1. This seems straight forward and I should be able to do
However, both of these return None. While debugging, I've found the following things return the expected result:
Interestingly, these return None:
My suspicion is that it is returning a non-string value an the functions are therefore failing? How can I call string functions on select box values?
It might be too late to answer this but hopefully it helps other people working with the JAP rules.
I came across today something similar that I resolved by appending the ".value" to the smart value tag.
For example, instead of:
Also, using the custom field ID instead of the name is safer because sometimes duplicate field names exist in instances that cause the rule to fail. The custom field ID can be given to you by your system admins, or found by right-clicking with the browser inspector over the field name. In Jira Cloud, you may need to do this on the issue creation screen.
A more complex edit field payload example (captures a dropdown menu option, manipulates it and posts it to another field):
Hope it helps someone!
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events