Is it possible to evaluate JSM assets attributes using JMWE's, build your own condition?
I have used the below successfully, but instead of modifying the workflow each time we need to include a specific object to transition to a specific status, I would like to use an attribute instead.
issue.customfield_10936[0].objectId == "objectID"
In my case, the attribute would be a boolean flag and I was hoping to do something such as the below, but I have not had any luck.
issue.customfield_10936[0].CRFlag == true
The goal is to route specific objects selected in Change Tickets to a specific status for further review and approval.
If it's not possible, I'll look to set a new custom field value via automation once the object is selected. From there, I would add a condition on that in the WF, but I am curious if we can also do it this way.
Automation is great, but I'd prefer to foolproof our process since we have seen Atlassian services and automation services in particular not being 100% stable, and delayed automation rule execution could cause a ticket to go through the wrong transition..
unfortunately, Asset attributes are not exposed by Jira to the Jira Expressions engine. To see what Jira exposes, "Test" this expression in the Nunjucks and Jira Epxression Tester against an issue that has a link to an Asset:
issue.customfield_10936
You'll see something like this:
These are the only attributes of an Asset that Jira Expressions can see.
Ahh ok, thank you for the confirmation, we'll look to implement an alternate solution in this case. Much appreciated the quick response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Fischer You have helped in the past with more complex aspects relating to JMWE and was wondering if you had any suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.