Workflow for entity in plugin

Workflows in JIRA are applied to "issue" i.e. each issue goes through some workflow in its life cycle. If we want to add workflow capability for an "entity" in our plugin then can we use same underlying framework to configure and store the workflow related data in JIRA? OR do we need to implement it within our plugin?

1 answer

1 accepted

This widget could not be displayed.

The workflow engine in JIRA is closely tied to issues.  Your "entity" will almost have to be an issue to be able to use the workflow stuff in JIRA, so you might as well just define a new issue type for it.

Thank you Nic for the reply. If we define issue type for it, then it can be added in a project as a issue, but we are not linking it to project. In our plugin UpRaise, we have performance review form or objectives for which we want to introduce workflow, which is not linked to project but with review cycle and user. Another question - can we use osworkflow in plugin with data stored in plugin related tables. i.e. plugin has its own workflow engine? or will it create any issue with JIRA workflow engine? I need to try it out but if you or someone else has already knows about probable issues, it will save some time. (I accepted answer thinking it will get me some points to add a comment here, but it didn't helped, so tried to upvote both que/answers from my colleague which added 15 points, hope this comment goes through)

As I said already, the workflow engine in JIRA is closely tied to issues. To do workflow on something that is not an issue you have two options 1) Write your own workflow engine 2) Rewrite JIRA so it can use workflow on things that aren't issues - this is not something you can do in an add-on

Ok got it, thank you.

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...

127 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