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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

446 views 6 7
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