Comments (12)
Learned another something about JIRA today, not only are fixVersions not required fields, but some issue types can have the field excluded from the create form.
Even though you leave it empty, if it's not included in the /projectmeta response as an issue field for that type it complains that the key is there anyway.
The fixVersions field is an artifact of the first version of development which didn't allow any custom fields and just had some basic hard-coded fields.
Can you try with current master and let me know if it's working?
from sentry-jira.
This introduced another bug. When I am about to submit the jira ticket, it now complains about this.
issue type is required
Changing the issue type will refresh the page with the required form fields.
This error appears even though I chose an issue type or I changed the issue type. This does not let you submit the ticket.
from sentry-jira.
Odd, I came across that issue while writing the last commit, check 0222857#L0R229 for the line that is supposed to fix it.
what version of JIRA are you running?
from sentry-jira.
I am using the following: Python 2.6, Sentry 5.0.14, sentry-jira plugin 0.6.7 and jira 5.1.4
from sentry-jira.
thought it may have been a sneaky API change between your 5.1.4 and 5.1.6 but my testing says it's working on your version also. I pushed out the fix mentioned above to pypi so you should be able to pip install --upgrade sentry-jira
to ensure that fix is applied in your environment.
from sentry-jira.
When I downloaded sentry-jira 0.6.8 from pypi, I was still getting the error. When I made the change below in forms.py,
- very_clean.pop(field, None)
+ del very_clean[field]
+ # very_clean.pop(field, None)
- very_clean["issuetype"] = {"id": very_clean["issuetype"]}
- very_clean.pop("project_key", None)
+ del very_clean["project_key"]
+ # very_clean["issuetype"] = {"id": very_clean["issuetype"]}
+ # very_clean.pop("project_key", None)
the changes seems to work (I'm able to submit the ticket to jira).
from sentry-jira.
any particular reason you switched the pop
s for del
s ?
from sentry-jira.
Actually, I was just reverting the change that you made in this commit.
from sentry-jira.
@bichonfrise74 now it should work for both of our instances, in the commit message I left a potential clue for the difference and i'll keep looking into.
Let me know if latest isn't working for you.
from sentry-jira.
Unfortunately, this fix didn't solve the issue that I am seeing. It was still saying that the IssueType is required even though I have selected it.
from sentry-jira.
@bichonfrise74 just released hotfix version 0.6.11, can you upgrade and ensure it works for JIRA 5.1.4 now?
from sentry-jira.
Thanks, I will try it when I get a chance.
from sentry-jira.
Related Issues (20)
- Hosted JIRA and hosted Sentry integration HOT 6
- Custom fields values cannot be selected from a drop-down menu HOT 3
- Unable to setup JIRA plugin with sentry version 8.5 HOT 4
- Problem with russian users names
- Compatible with 8.2.2? HOT 9
- JIRA plugin doesn't populate Priority and Issue Type correctly HOT 3
- Validation error; incorrect data type for custom field
- auto populate jira affected version field based on sentry release
- "Number value expected as the Sprint id" validation error in create issue form HOT 1
- Can't save issue tracking
- improve handling of custom fields
- add ability to link to existing jira issues
- future one configuration for all projects HOT 1
- Automatic task creation is not linking sentry issue to JIRA Bug ID
- Allow setting default reporter.
- How to implement conditional statement for the jolt transformation HOT 1
- Unable to Tag Users
- "No schema supplied" when trying to create a ticket HOT 8
- Empty page showing up when clicking the "Create jira button" HOT 1
- jira_client.username is not interpolated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-jira.