How do I refer to custom issue types in code?

I am trying to work with JIRA Misc Workflow Extensions.

I was wondering how do I refer to custom issue types when I use conditional post functions.

 

Every example or sample code give deals with Epics, stories and subtasks. 

However, I've created my own issue types (Like, "request", and "specific deliverable", etc)

And I don't know how to refer to them in the code!

 

More specifically, I want to use the post function to transition a related issue after all the sub-issues with a certain task has gone from in progress to done.

I found the documentation example for it here:

https://innovalog.atlassian.net/wiki/display/JMWEC/Conditional+execution

However, it uses epics and stories.

 

Any help or experience would be greatly appreciated!!

1 answer

Hi,

I'm not sure I understand what you mean by "I want to use the post function to transition a related issue after all the sub-issues with a certain task has gone from in progress to done.". More specifically, what do you mean by "a related issue" and "sub-issues with a certain task"? 

How are your issues related? The Epic/Story relationship is represented (internally) by Issue Links. Are you using issue links to connect your "request" and "specific deliverable" issues?

David

Hi David, all I am looking for is a way to refer to the "Request" issue item the same way the code refers to an "Epic". Because epics, stories, tasks, etc are built in, to refer to them in the code, you just use their names, but because a "Request" is a custom issue type, I don't know how to refer to it in the code.

 

And by code, I am referring to the expressions you use to set up conditional post-functions.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

197 views 2 11
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