Unable to get workflow name of a jira item

When I try to print the workflow name of a Jira item using

print(workflow);

it prints a blank line. As per the documentation, it should be printing name of the workflow associated to this issue. Is that correct? Or am I missing something?

1 answer

1 accepted

0 votes
Answer accepted

Indeed this seems to be a bug when matching the workflow id with its name. workflowId works fine though. Could you use that instead of the name?

I've created an issue for this in our tracker: http://bugs.kepler-rominfo.com/browse/IMJ-143

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

23 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you