workflow action based on Type

How do I determine the cards "Type" during "onChange" so I can display relavent information in the description?

3 comments
Comment actions Permalink
Official comment

Hello Scott,

Did you mean getting the Type value of the current issue in your workflow? If yes, you can get the type by accessing ctx.issue.fields.Type value.

Please let me know if I am missing anything. 

Comment actions Permalink

Thank you that pointed me in the right description. ctx.issue.fields.Type returns an array and what I was missing was the "name" key.  Issue is resolved.

0
Comment actions Permalink

Glad to hear it works, have a nice day!

0

Please sign in to leave a comment.