Workflow condition based on Asset field

Martin October 29, 2024

I'd like to only show a Transition when an Issue has a specific Asset chosen in the respective field. I've tried what's shown in the Screenshots but have had no luck with it. The transition won't show.

Asset:

  • Key: SKL-25
  • Name: Test

 

Any recommendations would be greatly appreciated.

 

Screenshot 2024-10-29 at 14.42.58.pngScreenshot 2024-10-29 at 14.47.07.png

2 answers

1 accepted

0 votes
Answer accepted
Marc - Devoteam
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.
October 29, 2024

Hi @Martin 

Welcome

This would require a 3rd party apl like JMWE, JWT or Scriptrunner, where Jira Expressions can be used.

Ootb this is not possible.

Martin November 21, 2024

Sorry for the late reaction. Thank you for letting me know it's not possible ootb right now. It's kind of strange though that an Asset can be chosen and is even recognised as such but will not function as one would expect. Very poor UX on Atlassian's side.

0 votes
Nacho Moreno Ortega
Contributor
October 30, 2024

Hi Martin,I am Nacho and I am part of the Decadis team.


It is a possibility for you to use a third party app and to have a validator which forces the user to select the desired Asset in order to perform the transition?

 


This condition can be used to validate that the asset with the desired id is selected in with the following Jira expression:
issue.customfield_nnnnn[0].objectId == "1"
Validator.png
"nnnnn" should be replaced for the id of the asset field. If you need more information, please feel free to create a ticket on our support portal!

Best regards,
Nacho

Suggest an answer

Log in or Sign up to answer