• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Jeffery Y. · Jun 04, 2011 at 03:47 AM · plugins

JIRA Plugin

Does anyone know what version of JIRA this will work with.

I have tried several different setting and I seem to always get this error.

2011-06-03 15:44:02 SEVERE [CreateIssueActionPlugin@com.dynatrace.diagnostics.jira.CreateIssueActionPlugin.action] Unknown problem while raising issue in JIRA

I'm wondering if this has something to do with the token introduced in JIRA 4.1+

JIRA 4.1+ now uses form tokens as an additional level of security against cross-site request forgery. 

Thanks,

Jeff

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

8 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Jalpesh S. · Jul 09, 2014 at 04:18 PM

Any update.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jalpesh S. · Jul 08, 2014 at 07:15 PM

Hi Team,

I have opened JIRA plugin.

Since this plugin gives value of incident .

I want to know which method is used in plugin to capture incident details.

Regards,

Jalpesh

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jan-Hendrik W. · Dec 07, 2012 at 02:40 PM

Thank you,

this would be helpful.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Nov 22, 2012 at 02:10 AM

One of my colleagues just provided an updated version of our JIRA Action Plugin that will work with JIRA 5.2. Check it out if this might also be helpful for you: JIRA Action Plugin

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by deleted3919 · Oct 18, 2012 at 11:26 PM

Hi Jeff,

this looks interesting, but I have not the possibility for downloading the package
com.atlassian.jira.security.xsrf.XsrfTokenGenerator.

I already asked my JIRA-admin, but she is a bit slow in things like this.

Do you know, where to download the package?

Regards
Jan

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Jeffery Y. · Oct 19, 2012 at 12:47 AM 0
Share

Jan,

You will need to talk with the JIRA admin. They should be able to pull this package from the JIRA install base.

The path would be similar to this,

/<install_path>/atlassian-jira/WEB-INF/classes/com/atlassian/jira/security/xsrf

I found this class file,
SimpleXsrfTokenGenerator.class

Thanks,
Jeff

avatar image

Answer by deleted3918 · Oct 09, 2012 at 08:58 PM

Hello,

old thread, old problems.

I am trying to use the JIRA-Action-Plugin, but our JIRA (Version 5.1.5) needs a XSRF -Token to proceed the request and I have no idea how I can get it.

Has someone the same issue and already solved it?

Regards
Jan

Comment

People who like this

0 Show 4 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Jeffery Y. · Oct 10, 2012 at 10:13 AM 0
Share

The JIRA plugin was built to integrate with a previous version of JIRA that did not have the XSRF security token.

There is a setting in the JIRA configuration file to turn off the XSRF security token.

#jira.xsrf.enabled=true

You would need to set this to false,

jira.xsrf.enabled=false

However, I would not recommend this if this is an external facing JIRA application. If this is an internal JIRA application, then it would be acceptable to set this to false.

Please post if this is acceptable and helps with your issue. I also recall needing to change the URL in the plugin.

It might help if you could attach the log file for the plugin.
You can find this under the collector logs running the plugin.

Thanks,

Jeff

avatar image deleted3919 Jeffery Y. · Oct 12, 2012 at 04:41 PM 0
Share

Hey Jeff,

thank you for your reply. I am still trying to convince our Jira-Admins, that we don't need the xsrf-token. (wink)

The log just throws this message.
SEVERE CreateIssueActionPlugin@com.dynatrace.diagnostics.jira.CreateIssueActionPlugin.action Exception while raising issue in JIRA: java.net.ConnectException: Connection refused

The URL used generated in the plugin is the following.
When I put it in the browser, I just have to confirm the token-security-request to open a ticket. https://jira-test/secure/CreateIssueDetails.jspa?pid=10712&issuetype=145&priority=3&summary=SUMMARY&description=DESCRIPTIONreporter=REPORTER&assignee=ASSIGNEE&components=1&os_username=USERNAME&os_password=PASSWORD

Regards
Jan

avatar image Jeffery Y. deleted3919 · Oct 12, 2012 at 08:55 PM 0
Share
or Velocity Templates: MyAction.jspa?myParameter=true&atl_token=${atl_token} Accessing the token programatically To get hold of the current user's token, you will need to make the following call: import com.atlassian.jira.security.xsrf.XsrfTokenGenerator; XsrfTokenGenerator xsrfTokenGenerator = ComponentManager.getComponentInstanceOfType(XsrfTokenGenerator.class); String token = xsrfTokenGenerator.generateToken(request); Scripting Scripts that access JIRA remotely may have trouble acquiring or returning a security token, or maintaining an HTTP session with the server. There is a way for scripts to opt out of token checking by providing the following HTTP header in the request: X-Atlassian-Token: no-check ]]>
avatar image Jeffery Y. Jeffery Y. · Oct 12, 2012 at 08:59 PM 0
Share

link to JIRA support page,

https://developer.atlassian.com/display/JIRADEV/Form+Token+Handling

avatar image

Answer by Jeffery Y. · Jun 06, 2011 at 09:22 PM

ok, I'm looking at the code, and the URL create the issue is not what is used in the newer version of JIRA.  I'm going to try and make our own version of the plugin.

Thanks,

Jeff

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · Jun 07, 2011 at 05:05 PM 0
Share

Thanks for your effort on this. When you have a new version let me know. We can post your version on the JIRA Plugin Download page

avatar image

Answer by Andreas G. · Jun 06, 2011 at 03:46 PM

Hi Jeffrey

best would be to contact the plugin owner. The owner is listed on the plugin download page

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Oracle Database Plugin

is weblogic JMS Plugin available to monitor JMS related stuff

SOLR Remote Monitoring Plugin

SNMP Action Plugin v2 Trap Mapping Best Practices

iPlanet Plugin Retrieving measurements error

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A