Extend the capabilities for creating issue

Hi Friends,

I am writing a plugin which will extend the capabilities for create issue, I am able to execute action only when if my URL is http://localhost:2990/jira/secure/CreateIssue.jspa but not able to execute action in quick create issue screen, Can anyone suggest.

I have the same discussion

https://answers.atlassian.com/questions/137921/how-to-extend-issue-actions-in-jira-5

if anyone know please share.

Thanks in advance

Best Regards

Onkar Ahire

2 answers

1 accepted

you go through

https://answers.atlassian.com/questions/83433/validator-support-for-edit-quick-edit-and-soap

in that he mentioned for Quick Edit Action. you use Quick Create Action instead of that.

but it is a bit lengthy procedure.

<webwork1 key="jtricks-create-issue-details" name="JTricks Create Issue Details" >
    <actions>
		
		    <action name="com.ora.ExtendJiraIssueAction.ExtendCreateIssue" alias="CreateIssueDetails">
		        <view name="error">/secure/views/createissue-details.jsp</view>
		        <view name="input">/secure/views/createissue-details.jsp</view>
		    </action>
	
		    <action name="com.ora.ExtendJiraIssueAction.ExtendCreateIssue" alias="CreateIssueDetails">
		        <view name="error">/secure/views/createissue-details.jsp</view>
		        <view name="input">/secure/views/createissue-details.jsp</view>
		    </action>
		    
    </actions>
</webwork1>

------------------------------------------------------------------------------

package com.ora.ExtendJiraIssueAction;
import com.atlassian.jira.bc.issue.IssueService;
import com.atlassian.jira.issue.IssueFactory;
import com.atlassian.jira.web.action.issue.IssueCreationHelperBean;
public class ExtendCreateIssue extends com.atlassian.jira.web.action.issue.CreateIssueDetails
{

	public ExtendCreateIssue(IssueFactory issueFactory,IssueCreationHelperBean issueCreationHelperBean,IssueService issueService) 
	{
		super(issueFactory, issueCreationHelperBean, issueService);
	}
	protected String doExecute() throws Exception 
	{
		log.debug("do stuff in execute Method");
return super.doExecute(); } protected void doValidation() { super.doValidation(); log.debug("do stuff in validate Method");
} }

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,861 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot