How to get resolution of "closed" from optilude when getting Jira stats - jira

Wondering if anyone can help me with this.
I'm trying to run Optilude (https://github.com/optilude/jira-cycle-extract) in the Windows10 command line.
I have installed everything, set up the yaml file as instructed, and have it running.
Every time I run it however, I get the following error:
r.status_code, error, r.url, request=request, response=r, **kwargs) jira.exceptions.JIRAError: JiraError HTTP 400 url: https://livesport.atlassian.net/rest/api/2/search?jql=project+%3D+VELCRO+AND+issueType+IN+%28%22Story%22%2C+%22Task%22%2C+%22Bug%22%29+AND+%28resolution+IS+EMPTY+OR+resolution+IN+%28%22Done%22%2C+%22Closed%22%29%29+ORDER+BY+updatedDate+DESC&validateQuery=True&startAt=0&expand=changelog
text: The value 'Closed' does not exist for the field 'resolution'.
This is the yaml file snippet, which asks for the resolutions:
And this is my Jira board, with resolution set to both Closed and Done.
Does anyone have any suggestions as to why it's not picking up the resolution for "Closed"? Is there some other way I need to set this, or write in the yaml file?
If I remove the "Closed" from the yaml file, it runs happily past that error point (and onto the next unrelated error - but that's another issue..)

Are you sure that you have "Closed" resolution at this JIRA setup? If issue has a resolution it mean that it is closed.

Related

Can not extract resource from com.android.aaptcompiler.ParsedResource#d5789c4

Can not extract resource from com.android.aaptcompiler.ParsedResource#d5789c4.,Can not extract resource from com.android.aaptcompiler.ParsedResource#57808e1e.
i had the same message of error and it resulted to be this annoying litle mistake in the color resource file: the double angle bracket, which by the way the compliler doesn't highlights
>#color/gris_oscuro
This is likely a problem in some resource file. I think it's very frustrating, the error message says "Check logs for more details" but I am not sure how to get the logs.
I had a similar problem and after many attempts I exited Studio, manually removed the build directory, and tried again. This time I did see a log, and they pointed at my strings.xml file, which I was able to fix.
By the way, I realized that if you run "Compile some_file.xml" from the Build menu, you'll get the error even if the error is somewhere else. So this is not helpful.
(FWIW, my error had to do with a single quote inside a [[CDATA]] block. I thought that Xml allows any text inside CDATA, but maybe Studio is less forgiving. Anyway, your error is probably something else, you'll just have to find it.)
I see here that people discuss how to get grade logs. I was not able to run gradlew from the terminal (I am on macOS) but that seems to be the official way to get lgs.
Check colors.xml and strings.xml file. I had error in colors.xml. I had written wrong color code of two colors. That is why I was getting this error.

Facing Error while running a JMeter script using docker file on AWS

Hi I am Niladri Shekhar De, relatively new to performance testing. I am trying to run my load test (scripted in JMeter) using docker file on AWS. I am editing the docker file as mentioned in docker file this picture. Also, I have edited the entrypoint as this
entry point picture. Then while I am trying to run it is waiting for long after "Waiting for possible shutdown...." line and finally I am getting all 10 errors (My script has 2 transactions and I am running for 5 users) as shown in the picturecloudwatch. The script name may be mentioned here is different than in the docker file but that I have changed later. Could anyone please look into this and help me out? It will really be a great help..
Although your way to take screenshots is fantastic you should not be posting code as images on StackOverflow
Coming back to your question: we cannot see any failure reason there so I would suggest to check:
The .jtl results file, it should have status code, response message, maybe response details, etc.
The jmeter.log file which normally can give a clue regarding what's wrong. If it doesn't - you can try increasing JMeter logging verbosity

Why is my Dataflow pipeline not showing steps?

When I run the examples I get a pretty picture showing the flow and I can monitor as it executes. With my application it doesn't show the diagram and if I click on "Step" it displays nothing.
Adding screenshot of Job log. No warnings or errors. BTW, I assumed the icon on the log entry with an "i" stands for Info level, but when I change the level from BASIC to ALL many more entries are added and they all have the same icon. That is confusing. Icons should be more clear and should have hover tips, IMO.
I'm on the Dataflow team. I'm sorry that you are encountering this issue.
I believe this is occurring because of the custom step names you're code is using.
From your screenshot of the job logs, it appears that some of these steps have been given names that represent a GCS storage path location.
I noticed this from this message in the logs:
Executing operation "gs://datalake/landing/...."
This fails to render in the monitoring UI and likely hits an assertion because slashes are disallowed characters.
In order to work around this issue would you please try removing the custom step names used in your code. Which seems to be set to gs:// style paths. You could also try specifying names for each step, without using special characters.
Please try running the job again after that change and see if the graph renders properly in the dataflow UI.
I have created a github issue to track this bug and prevent these slash characters from sent in the future in the dataflow SDK code.
Please let me know if you encounter any more issues.

How to display error occurred in script?

I think my question is already asked, but I didn't find any topic about that.
When I try somme script with kivy, I have sometimes errors (such as undeclared variable, bad indentation...), but Qpython don't display them.
I lunch kivy with:
"#qpy:kivy"
and consequently, there is no console. A log is however present, but it's empty.
Is there a way to remedy this ?
Should I add a line to display error ?
Thanks
Simon
PS: The "print" command is also useful, but not working (no console). I think it's the same problem.
The newest 1.2.0 version had fixed this blank log issue.

DeleteAttachment failing after plugin customization

I developed a simple plugin to bar files ending in .exe from being uploaded into my jira app. I overrode the AttachFile.doValidation() method to check for .exe in the filename. If it's there I return an error.
Now when I try to delete an attachment, 9 times out of 10 it won't work. I simply get the error "Failed to delete attachment with id {id}". Nothing in the stacktrace or logs indicated that something went wrong. Then it will suddenly delete succcessfully. I've found no rhyme or reason for this.
Again, I overrode AttachFile, not DeleteAttachment, so I don't know how my fix could be related to this problem. Could it be though??
If I remove my plugin entirely, I still get an error when I delete. The error says "The action can't be completed because the file is open in Java(TM) Platform SE binary". Somehow AttachFile() is leaving a reference to the file, but I have no clue where or how to clean up.
Permissions aren't the issue, because occasionally the delete command will work. It always works when the server first starts up, and after that only periodically.
We've come to the conclusion that this is a Windows-only problem, and Linux doesn't lock files. Our production server is Linux, so I'm not going to spend anymore time on this.

Resources