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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

200 views 1 3
Join discussion

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