Forums

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

Workflow Condition based on JSM Assets Attribute

Julian Governale
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2025

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.. 

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
David Fischer
Community Champion
May 19, 2025

Hi @Julian Governale 

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:

image.png

These are the only attributes of an Asset that Jira Expressions can see.

Julian Governale
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2025

Ahh ok, thank you for the confirmation, we'll look to implement an alternate solution in this case.  Much appreciated the quick response. 

0 votes
Julian Governale
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2025

@David Fischer You have helped in the past with more complex aspects relating to JMWE and was wondering if you had any suggestions.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events